pdf saving on OS X

Brian Blais <bblais@...1129...> 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 cases for postscript and
svg but not pdf, and for some reason defaults to jpeg format when it
cannot determine which format was needed. Here's a workaround for now: