title: Creating subplots with differing shapes in matplotlib
body: <p><a href="https://i.stack.imgur.com/vvuaG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vvuaG.jpg" alt="meteogram"></a></p>
  
  <p>I'm looking to create a figure with multiple subplots much like this meteogram in matplotlib.  I will need multiple subplots of varying heights (all the same width, but some will be "skinnier" and some will be "fatter").  Just like the image above, some subplots need to be big and some need to be small, but they need to be large enough to convey useful information no matter how many subplots there are.  </p>
  
  <p>When I create a subplot as pyplot.subplot(2,1,1) it has the aspect ratio I need, but if I increase the number of rows (e.g. subplot(3,1,1)) the subplot becomes "too skinny".  I'm going to need to fit a half dozen of these plots on one figure but they become too "small" if I start to fit more subplots on the figure.  </p>
  
  <p>Put simply, is a figure like this meteogram possible in matplotlib without stitching together multiple images?  These images will be returned, by url request, from a server so technically it's possible but if I can fix this problem in the library that would be preferred.</p>
  
  <p>The documentation of matplotlib is fantastic, but it seems matplotlib is tuned to give you subplots with the same aspect ratio rather than letting you give subplots with arbitrary aspect ratios as the number of subplots increases.  I can't find a single example on the net of differing subplot sizes.  </p>