title: Seaborn Heatmap Subplots - Shared heatbar and heating
body: <p>I trying to compare 3 heat-maps. 
  I struggle to get the 3 maps to share the "heating" from the colorbar. 
  The heating becomes relative to the data set of each subplot, flight, flight1, and flight2. 
  And not relative to the different subplots. </p>
  
  <p>Is there a way off connecting the subplots the shared colorbar?</p>
  
  <p>I have used the code below:</p>
  
  <pre><code>import seaborn as sns  
  import matplotlib.pyplot as plt
  
  flights = sns.load_dataset("flights")
  flights = flights.pivot("month", "year", "passengers")
  flights1 = flights * 10
  flights2 = flights * 2
  f,(ax1,ax2,ax3, axcb) = plt.subplots(1,4, 
          gridspec_kw={'width_ratios':[1,1,1,0.08]})
  ax1.get_shared_y_axes().join(ax2,ax3)
  g1 = sns.heatmap(flights,cmap="YlGnBu",cbar=False,ax=ax1)
  g1.set_ylabel("")
  g1.set_xlabel("")
  g2 = sns.heatmap(flights1,cmap="YlGnBu",cbar=False,ax=ax2)
  g2.set_ylabel("")
  g2.set_xlabel("")
  g2.set_yticks([])
  g3 = sns.heatmap(flights2,cmap="YlGnBu",ax=ax3, cbar_ax=axcb)
  g3.set_ylabel("")
  g3.set_xlabel("")
  g3.set_yticks([])
  plt.show()
  </code></pre>
  
  <p>The cod gives this output: </p>
  
  <p><a href="https://i.stack.imgur.com/TxQfg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TxQfg.png" alt="Output from code"></a></p>