[Pythonmac-SIG] matplotlib and postscript output
Samuel M. Smith
smithsm at samuelsmith.org
Fri Sep 9 16:53:10 CEST 2005
I had postscript problems on matplotlib 0.83.2 with the fonts. If my
plot had text in it, the ps file wouldn't convert to pdf. It had an
error.
Robert Kern on the matplotlib-users mailing list had a work around.
That is use tex fonts.
This worked for me. I installed the latest version of texshop http://
www.uoregon.edu/~koch/texshop/ and
then entered this command before plotting
rc('text', usetex=True)
and the resulting eps files converted to pdf just fine.
More information about the Pythonmac-SIG
mailing list