title: How can I set the y-axes to the same scale for a multi-plot grid in plotly python
body: <p>I have a csv file with performance metrics and in order to plot CPU Load per week for a 4 week period, I use a multi-plot plotly package in python. Here's the code below. The problem is the load varies each week and the y-axis is different for each week. How can I ensure it is consistent for all the weeks?</p>
  <pre><code>from plotly.subplots import make_subplots
  
  fig = make_subplots(rows=2, cols=2,subplot_titles=(&quot;Week 1&quot;, &quot;Week 2&quot;, &quot;Week 3&quot;, &quot;Week 4&quot;))
  
  fig.add_trace(
      go.Bar(x=df_load1[:7]['date'], y=df_load1[:7]['avg_values']),
      row=1, col=1
  )
  
  fig.add_trace(
      go.Bar(x=df_load1[7:14]['date'], y=df_load1[7:14]['avg_values']),
      row=1, col=2
  )
  
  fig.add_trace(
      go.Bar(x=df_load1[14:22]['date'], y=df_load1[14:22]['avg_values']),
      row=2, col=1
  )
  
  fig.add_trace(
      go.Bar(x=df_load1[22:29]['date'], y=df_load1[22:29]['avg_values']),
      row=2, col=2
  )
  fig.update_layout(height=600, width=800, title_text=&quot;CPU load usage for Node1 per week ; Metric - node_load1&quot;, yaxis=dict(title=&quot;Avg num of CPUs&quot;))
  fig.show()
  </code></pre>