Is there a way to automatically resize a figure to properly fit contained plots in a matplotlib/pylab image?
I\'m creating heatmap (sub)plots that differ in aspect rat
Do you mean changing the size of the image or the area that is visable within a plot?
The size of a figure can be set with Figure.set_figsize_inches. Also the SciPy Cookbook has an entry on changing image size which contains a section about multiple images per figure.
Also take a look at this question.