[Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Jeff Perry
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

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Michael Droettboom
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

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread John Hunter
On Fri, Jun 11, 2010 at 7:50 AM, Michael Droettboom md...@stsci.edu 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

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Jeff Perry
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/matplotlibrc

Re: [Matplotlib-users] incorrect output for math symbols

2010-06-11 Thread Michael Droettboom
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