On Jan 12, 2012, at 10:18 AM, Benjamin Root wrote:

> fig.savefig('foobar.png", bbox_inches='tight', pad_inches=0.25, 
> bbox_extra_artists=[leg])

[...]

> In mpl v1.1.0, we introduced a function called "tight_layout" which should 
> help with such things.  Admittedly, it would be nice if tight_layout did 
> something similar to bbox_inches='tight' and accept a list of additional 
> artist objects to consider, but it does not do that right now.

Both of those worked wonderfully... thanks very much!

--
-- Christophe Pettus
   x...@thebuild.com


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to