You can make the use of tex automatic by setting text.usetex to True
in your rc file
### TEXT
# text properties used by text.Text. See
# http://matplotlib.sourceforge.net/matplotlib.text.html for more
# information on text properties
text.color : black
text.usetex : True # use
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 te
Thanks a lot! I am now able to create ps output and can proceed with my
work (although I have to deal with the fonts manually, but that's better
than no postscript at all).
Yes, the problem has something to do with fonts.
My test script is now like this:
#pstest.py
import matplotlib
matplotlib
> "Teemu" == Teemu Rinne <[EMAIL PROTECTED]> writes:
Teemu> Any help/suggestions would be greatly appreciated.
matplotlib emes it's freetype fonts into the postscript file. The
fonts it finds are usually platform and per-computer specific. It
looks to me like the errant platform has som