On Tue, Sep 9, 2008 at 6:26 AM, Adam <[EMAIL PROTECTED]> wrote: > I thought the desired result could be achieved by the following code, but > there is > still blank space (in the vertical-direction) between the subplots:
By default, matplotlib will resize your axes to preserve the aspect ratio of your image, which in the case of your 23x25 images is not equal. You can override this behavior by setting aspect='auto' for i in range(6): fig1.add_subplot(2,3,i+1) pylab.imshow(data, aspect='auto') JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users