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:
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.
any ideas? I can try to throw together some example, in case someone needs to repeat it.