Allen Beye Riddell <[EMAIL PROTECTED]> writes:

> I'd like to remove the whitespace, padding, offset, etc on the left and
> right of the plot as I'm writing the entire thing to a jpg. I've turned
> the frame, axes, ticks off, but the space still remains.
 [...]
>     ax = fig.add_subplot(111)

Replace this line by

      ax = fig.add_axes((0,0,1,1))

The default subplot axes leave some space for tick labels etc., but
this gives you axes spanning the full figure.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


-------------------------------------------------------------------------
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