I'm drawing a figure for inclusion into a LaTeX document, and I'm
having trouble getting matplotlib to export a .pdf that 'tightly'
encapsulates the drawing that is generated - I get a lot of whitespace
at the bottom, in particular.

After some experimentation, I've found that the culprit is an Arc that
I am drawing near the bottom of the page. The angle range is something
like pi/4 to 3*pi/4, so the actual line is located well above the
center of the circle defining the arc, but it appears that the arc is
reporting a bounding box that is the same as would be reported for a
circle.

Perhaps this isn't a bug and this behavior is useful to some, but I'd
really like to be able to get the resulting image fit tightly around
the drawn lines and not invisible bounding boxes.

Can anyone help me out? Is there some way I can force matplotlib to
'clip' the output?

Thanks,
Jason

P.S. I'm using matplotlib v. 0.98.5.2 on Python 2.6 running on x86_64 Linux

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to