Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread chris
On Tue, Oct 14, 2008 at 11:21:58PM +0300, Jouni K. Sepp?nen wrote: > Jouni K. Sepp?nen <[EMAIL PROTECTED]> writes: > > > 2008-03-23 Fix a pdf backend bug which sometimes caused the outermost > > gsave to not be balanced with a grestore. - JKS > > > > Can you upgrade to 0.91.4? > > He

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread Jouni K . Seppänen
Jouni K. Seppänen <[EMAIL PROTECTED]> writes: > 2008-03-23 Fix a pdf backend bug which sometimes caused the outermost > gsave to not be balanced with a grestore. - JKS > > Can you upgrade to 0.91.4? Here's the relevant patch, in case applying it is more convenient than upgrading:

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread chris
On Tue, Oct 14, 2008 at 03:00:05PM -0400, Michael Droettboom wrote: > With the file you sent, I can see the messed up footer in xpdf, but not > in acroread. There are a number of times that I have seen xpdf not > completely support the PDF spec, and this may be one of them. I installed acroread a

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread Jouni K . Seppänen
[EMAIL PROTECTED] writes: > I also attached the final PDF since you asked for it. You didn't mention your matplotlib version, but the embedded pdf file seems to come from matplotlib 0.91.2. That version had a bug where the graphics context was not always restored properly, which could very well b

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread Michael Droettboom
With the file you sent, I can see the messed up footer in xpdf, but not in acroread. There are a number of times that I have seen xpdf not completely support the PDF spec, and this may be one of them. Creating my own files, however, I'm not able to reproduce this here. When I compile your tes

Re: [Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-14 Thread Michael Droettboom
[EMAIL PROTECTED] wrote: > LaTeX can accept embedded Python code with a python.sty file. > > This is handy to dynamically generate plots with Matplotlib for a LaTeX slide > presentation. > > I successfully embedded lots of matplotlib plot code into my slides > and then had problems with zorder. > >

[Matplotlib-users] zorder seems to cause problems when embed python in latex files

2008-10-12 Thread chris
LaTeX can accept embedded Python code with a python.sty file. This is handy to dynamically generate plots with Matplotlib for a LaTeX slide presentation. I successfully embedded lots of matplotlib plot code into my slides and then had problems with zorder. For some reason zorder seems to mess up