Re: [Matplotlib-users] savefig as pdf not generating vector graphics?

2009-06-28 Thread Michiel de Hoon
--- On Sun, 6/28/09, Jouni K. Seppänen wrote: > The file you sent was not generated by the pdf backend but > by "Mac OS X 10.5.6 Quartz PDFContext", which probably means > that the OS X backend saves pdf files using the OS X machinery > and not the pdf backend. Indeed the formulas look like bitma

Re: [Matplotlib-users] savefig as pdf not generating vector graphics?

2009-06-28 Thread Jouni K . Seppänen
per freem writes: > you're right, i don't need to use "usetex" -- i removed it, but the problem > still persists. here is the pdf that it generates (code below). any idea > what is happening here? thanks very much for your help. The file you sent was not generated by the pdf backend but by "Mac

Re: [Matplotlib-users] savefig as pdf not generating vector graphics?

2009-06-28 Thread Jouni K . Seppänen
per freem writes: > i am using matplotlib 0.98.5.2 on Mac OS X. i am plotting a histogram > and then saving it as .pdf. The x and y labels use some symbols from > latex, and i have useTex set to true in my rcParams. Do you really need usetex? Matplotlib's usual mathtext engine is pretty good and

[Matplotlib-users] savefig as pdf not generating vector graphics?

2009-06-27 Thread per freem
hi all, i am using matplotlib 0.98.5.2 on Mac OS X. i am plotting a histogram and then saving it as .pdf. The x and y labels use some symbols from latex, and i have useTex set to true in my rcParams. The code is: import matplotlib.pyplot as plt my_fig = plt.figure(figsize=(5,5)), dpi=100) plt.his