From: John H. <jd...@gm...> - 2008-11-25 01:23:50
|
On Mon, Nov 24, 2008 at 6:23 PM, Zane Selvans <za...@id...> wrote: > whether it's just the fact that I'm using the SVN code. > The first thing I noticed is that all of the LaTeX symbols I have in my > plots are now messed up. I could see this being a font issue... does anyone > know how/where Matplotlib gets pointed at the LaTeX fonts? And how I would > check to see where it's looking, or whether it's not finding what it's > looking for? I'm not getting any errors - my greek letters just cease to be > greek, and various text decorations (like \bar{D}) come out as other things > altogether (like D, only with an Angstrom symbol over it...). I suggest completely wiping your .matplotlib directory (saving only your matplotlibrc if you have customized it). matplotlib caches a fair amount of font and latex rendering stuff. I had a similar problem on an upgrade with mathtext. We are not sure why it is happening yet, but it will probably go away if you rm -rf ~/.matplotlib. Also, wipe your site-packages/matplotlib dir before installing. See http://matplotlib.sourceforge.net/faq/installing_faq.html#cleanly-rebuild-and-reinstall-everything To get more verbose information about what mpl is doing behind the scense, run with > python myscript.py --verbose-debug You can use --verbose-helpful for less output. I think it might be a good idea for us to start using a versioned dir structure for the cached data... JDH |