Clearing the font cache works too. Although, judging from the debug output,
it still seems to find the fonts in the system directories. There are no
fonts in the matplotlib site-packed dir:
[...@psy86] 1014:$ ls
/usr/lib64/python2.6/site-packages/matplotlib/mpl-data/
example/ images/ lineprops
The problem here is that it isn't finding the STIX fonts in the
matplotlib distribution, but from system locations -- and it's actually
not finding all of them, only some.
How did you install matplotlib? Did you try John's suggestion of
clearing the font caches? Do you see any STIX ttf fonts
I found that setting
mathtext.fontset : stix
fixed the problem.
Here is the debug-annoying output when mathtext.fontset is not set:
./plotlut2.py lut2.txt "figure 1a"
matplotlib data path /usr/lib64/python2.6/site-packages/matplotlib/mpl-data
loaded rc file /home/jsp/.matplotlib/matplotlibr
On Fri, Jun 11, 2010 at 7:50 AM, Michael Droettboom wrote:
> Can you set the rcParam 'verbose.level' to 'debug-annoying' and send us the
> output?
>
> What version of matplotlib? Which backend?
You may also want to clear your fonts and tex cache
rm -rf ~/.matplotlib/font*.cache
rm -rf ~/.ma
Can you set the rcParam 'verbose.level' to 'debug-annoying' and send us
the output?
What version of matplotlib? Which backend?
Mike
On 06/10/2010 04:03 PM, Jeff Perry wrote:
When I run the following, I get gibberish for the math symbols: ),?,"
instead of alph's, beta's, ..., etc.
I believe
When I run the following, I get gibberish for the math symbols: ),?,"
instead of alph's, beta's, ..., etc.
I believe I have all the correct fonts installed: stix, computer
modern. I have tex and latex installed.
Any suggestions? I am running FC12.
Thanks,
Jeff
1 import numpy as np
2 impor