Re: [Matplotlib-users] pdf saving on OS X

2007-07-27 Thread Jouni K . Seppänen
Brian Blais <[EMAIL PROTECTED]> writes: > This is the smallest example I can write. I am embedding the figure > in a wx window. In this test case, I print (successfully) a PNG and > EPS, but the PDF doesn't work (gets a .jpg attached to the end). Right. It seems that the wx backend has special

Re: [Matplotlib-users] pdf saving on OS X

2007-07-26 Thread Brian Blais
On Jul 26, 2007, at Jul 26:4:49 PM, Jouni K. Seppänen wrote: Brian Blais <[EMAIL PROTECTED]> writes: and it works with pylab. But, if I use matplotlib.Figure directly in an app, and then call: myfig.savefig('blah.pdf') it saves it as 'blah.pdf.jpg', a jpeg file. Sounds like you are using

Re: [Matplotlib-users] pdf saving on OS X

2007-07-26 Thread Jouni K . Seppänen
Brian Blais <[EMAIL PROTECTED]> writes: > and it works with pylab. But, if I use matplotlib.Figure directly in > an app, and then call: > myfig.savefig('blah.pdf') it saves it as 'blah.pdf.jpg', a jpeg file. Sounds like you are using a backend other than the pdf one. Can you write up a complete

[Matplotlib-users] pdf saving on OS X

2007-07-26 Thread Brian Blais
Hello I am having trouble saving a figure to pdf on Mac OS X (matplotlib version 0.90.1). I applied the patch for pylab, here: http://www.mail-archive.com/[EMAIL PROTECTED]/ msg00940.html and it works with pylab. But, if I use matplotlib.Figure directly in an app, and then call: myfi