title: How to create python imshow subplots with same pixel size
body: <p>I'm trying to create imshow subplots with the same pixel size without having the figure height automatically scaled, but I haven't been able to figure out how.</p>
  
  <p>Ideally, I'm looking for a plot similar to the second picture, without the extra white space (ylim going from -0.5 to 4.5) and maybe centered vertically.  My pictures will always have the same width, so maybe if I could fix the subplot width instead of the height that would help.  Does anyone have any ideas?</p>
  
  <pre><code>close('all')
  f,ax=subplots(1,2)
  ax[0].imshow(random.rand(30,4),interpolation='nearest')
  ax[1].imshow(random.rand(4,4),interpolation='nearest')
  tight_layout()
  
  f,ax=subplots(1,2)
  ax[0].imshow(random.rand(30,4),interpolation='nearest')
  ax[1].imshow(random.rand(4,4),interpolation='nearest')
  ax[1].set_ylim((29.5,-0.5))
  tight_layout()
  </code></pre>
  
  <p>Plot without ylim adjustment:</p>
  
  <p><img src="https://i.stack.imgur.com/Ve0oQ.png" alt="Plot without ylim adjustment"></p>
  
  <p>Plot with ylim adjustment:</p>
  
  <p><img src="https://i.stack.imgur.com/MygXo.png" alt="Plot with ylim adjustment"></p>