title: matplotlib subplots with equal aspect ratio and individual colorbars
body: <p>I would like to draw 4 subplots with an equal aspect ratio and an individual colorbar for each subplot. I am nearly finished, but I the font is very big and the colorbars are badly positioned as they overlap with the x-axes title; see the attached code and resulting image. How to get a better result?</p>
  
  <pre><code>import numpy
  import matplotlib.pyplot as plt
  data = numpy.random.random((3, 10))
  fig, (ax1, ax2, ax3, ax4) = plt.subplots(nrows=4)
  im1 = ax1.pcolormesh(data)
  ax1.set_title('IM1')
  im2 = ax2.pcolormesh(data)
  ax2.set_title('IM2')
  im3 = ax3.pcolormesh(data)
  ax3.set_title('IM3')
  im4 = ax4.pcolormesh(data)
  ax4.set_title('IM4')
  for ax, tc in zip((ax1, ax2, ax3, ax4), (im1, im2, im3, im4)):
      ax.tick_params(direction='out', which='both', top=True, right=True)
      ax.minorticks_on()
      ax.set_aspect('equal')
      ax.set_xlabel('$x$')
      ax.set_ylabel('$y$')
      fig.colorbar(tc, ax=ax, orientation='horizontal')
  fig.tight_layout()
  fig.savefig('im.png', dpi=300, bbox_inches='tight')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/wTG7L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wTG7L.png" alt="enter image description here"></a></p>