title: How to place multiple colorbars next to each other in the same axis automatically
body: <p>I have a plot (example here below) where I need to put multiple colorbars in the same axis</p>
  <p><a href="https://i.stack.imgur.com/q0iUN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q0iUN.png" alt="Example plot" /></a></p>
  <p>To do that at the moment I have to create a new axis for every colorbar with values defined manually like so</p>
  <pre class="lang-py prettyprint-override"><code>x_cbar_0, y_cbar_0, x_cbar_size, y_cbar_size     = 0.18, 0.05, 0.3, 0.02
  x_cbar2_0, y_cbar2_0, x_cbar2_size, y_cbar2_size = 0.55, 0.05, 0.3, 0.02
  
  ax_cbar = plt.gcf().add_axes([x_cbar_0, y_cbar_0, x_cbar_size, y_cbar_size])
  ax_cbar_2 = plt.gcf().add_axes([x_cbar2_0, y_cbar2_0, x_cbar2_size, y_cbar2_size])
  cbar_snow = plt.gcf().colorbar(cs_snow, cax=ax_cbar, orientation='horizontal',
   label='Snow')
  cbar_rain = plt.gcf().colorbar(cs_rain, cax=ax_cbar_2, orientation='horizontal',
   label='Rain')
  </code></pre>
  <p>This is not really a portable solution as when something is changing, for example the map projection, the plot is slightly resized and I have to tune these numbers to manually place the colorbars without overlapping.</p>
  <p>Isn't there a way to automatically create a new axis with the same width of the figure (I believe <code>mpl_toolkits.axes_grid1.axes_divider</code> should do that) and then split it into an arbitrary number of sub-axes which can then be used to place the colorbars?</p>