Hi,i have found a strange behaviour of the figure size. At least for some cases it looks like the figure size is changed by a small amount after calling pylab.show.
The attached script saves the same figure before and after calling savefig. The figure saved after the call to show is a different in number of pixels.
Here comes a printout from running the script in ipython: In [1]: %run figsize_truncation.py desired figsize: (3.1496062992125986, 3.1496062992125986) actual figsize: [ 3.1496063 3.1496063] desired figsize: (3.1496062992125986, 3.1496062992125986) actual figsize: [ 3.2875 3.2875] As you can see on the last line the last figure becomes something else. /Jörgen Versions I use:python version = 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
numpy __version__ = 1.0.5.dev2304 scipy __version__ = 0.7.0.dev3422 ipython __version__ = 0.8.3.svn.r3001 __revision__ = 3001 matplotlib __version__ = 0.98pre __revision__ = $Revision: 4894 $
binfkrqteEA4E.bin
Description: application/applefile
figsize_truncation.py
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel