Hi all,

I'm trying to use matplotlib to generate some graphs on a webpage for me.
 Everything works pretty well, except, I cannot make a change to the fonts.
 I've set up the scripts to be called as a cgi script or to be run from the
command line.  When I run them from the command line, I get the correct font
(Arial) yet when run from the web page, it uses the CMR10 font.  Arial is
installed on the linux system.

I've thought the problem might be related to which matplotlibrc file each
script might be using, but when I check matplotlib.matplotlib_fname() from
the command line and web page, they return the same.

Maybe there is a way to get the --verbose-debug output when run from a web
page?  That could help me figure out what's going on.

I know I could manually specify the font using font_manager, but that's not
really ideal as I'd have to do it manually for each graph.  I'd rather have
a global solution for all my graphs.  Any help is greatly appreciated.


robbie
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to