Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-10 Thread Michael Droettboom
It appears to be finding wadalab-gothic as the font, which is a Japanese font. Now, *why* it is doing that is the million dollar question. It should (by default) by loading the Bitstream Vera Sans font (Vera.ttf) from /usr/local/lib/python2.4/site-packages/matplotlib/mpl-data/fonts/ttf. I

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-10 Thread Darren Dale
On Monday 10 December 2007 8:21:03 am Michael Droettboom wrote: It appears to be finding wadalab-gothic as the font, which is a Japanese font. Now, *why* it is doing that is the million dollar question. It should (by default) by loading the Bitstream Vera Sans font (Vera.ttf) from

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-10 Thread Tim Lewis
I deleted my /.matplotlib/fontManager.cache file and ran the script again, and now everything is working fine. Thank you for your help. It appears to be finding wadalab-gothic as the font, which is a Japanese font. Now, *why* it is doing that is the million dollar question. It should (by

Re: [Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-07 Thread Tim Lewis
Can you set verbose.level to debug-annoying in your matplotlibrc and send us the output? That may help provide an explanation as to why the text is not appearing. Also, for good measure, can you provide your matplotlibrc file, and information about the platform and versions of Python that

[Matplotlib-users] Missing labels/text(s) in plots generated via cgi script.

2007-12-06 Thread Tim Lewis
I'm using the code from http://www.scipy.org/Cookbook/Matplotlib/Using_MatPlotLib_in_a_CGI_script to generate plots from my web server. The plot shows up fine (w/o text) but when I use xlabel(x-axis), ylabel(y-axis), or title(A Chart); no text shows up on the plot. Everything seems fine with the