Re: [Matplotlib-users] bounding box functionality with text() function

2008-06-12 Thread Michael Droettboom
If you can find a way to create a minimal script, that would be better, because then we can verify the fix. But barring anything else, seeing the .eps might help. Cheers, Mike Michael Hearne wrote: > John - Thanks for the quick fix. I'm having a separate issue now with > an EPS file being gen

Re: [Matplotlib-users] bounding box functionality with text() function

2008-06-11 Thread Michael Hearne
John - Thanks for the quick fix. I'm having a separate issue now with an EPS file being generated (using savefig() again) that appears to be invalid (can't display it in OS X Preview, or convert to PDF with ps2pdf). Unfortunately, the code that creates this particular file is rather involved,

Re: [Matplotlib-users] bounding box functionality with text() function

2008-06-11 Thread John Hunter
On Wed, Jun 11, 2008 at 10:14 AM, John Hunter <[EMAIL PROTECTED]> wrote: > Interesting. When I plot it on my screen it looks correct with a *Agg > GUI backend. But when I save it (either from the GUI or using > savefig) it has the problem you describe. This suggests to me that > either some cac

Re: [Matplotlib-users] bounding box functionality with text() function

2008-06-11 Thread John Hunter
On Mon, Jun 9, 2008 at 3:35 PM, Michael Hearne <[EMAIL PROTECTED]> wrote: > savefig('textplot.eps') > savefig('textplot.png') > close(fig) Interesting. When I plot it on my screen it looks correct with a *Agg GUI backend. But when I save it (either from the GUI or using savefig) it has the prob

[Matplotlib-users] bounding box functionality with text() function

2008-06-09 Thread Michael Hearne
I'm having a problem with the bbox keyword to the text() function. The code below, for me, results in one postscript file that looks fine, but the PNG file has letters outside of the bounding box for most of the words I plot. I'm using matplotlib '0.98pre' on Mac OS X. import matplotlib matpl