I'm trying to get matplotlib to make a 600x300 png, but matplotlib won't
let me; it keeps making a 612x312 png instead.  Here's a sample script
that has the problem on my system:

figure(figsize=(6., 3.))
plot(arange(10))
savefig('test.png', dpi=100.)

If I set dpi to 50., it makes a 312x162 png.  It appears to be adding a 6
pixel border to the edge of all the pngs.  How do I get rid of it?

Windows XP SP2, Python 2.5, matplotlib 0.90.

Jordan


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to