[Users] [Commits] [svn:einsteintoolkit] manifest/trunk/ (Rev. 226)

Frank Loeffler knarf at cct.lsu.edu
Sat Apr 6 07:36:55 CDT 2013


On Sat, Apr 06, 2013 at 12:16:06AM -0700, Roland Haas wrote:
> Matplotlibs savefig has an option to get tight bounding boxes
> 
> http://stackoverflow.com/questions/3130072/matplotlib-savefig-image-trim
> 
> though using only removes the whitespace on the right hand side.

Did you try

fig.savefig("bla.pdf", bbox_inches='tight') ?

Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20130406/d72b823d/attachment.bin 


More information about the Users mailing list