John,
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')
This gets rid of the blank space, but at the expense of the aspect ratio, as
you mention. Isn't there away to preserve the aspect ratios of the
individual
sub-images, and just remove the white space between them? I really to not
want to mess with the images themselves.
cheers,
adam.
-------------------------------------------------------------------------
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