Berit Hinnemann wrote:
>
> Hi Michael,
>
> Thanks a lot for your reply.
>
> >No.  As of 0.91 and later, you can mix normal text with math.  Just
> >stick the math inside a pair of '$'.
>
> I just realized that I have version 0.90 installed. Is it advisable to 
> upgrade to 0.93 or to 0.98 directly? Also, how do I uninstall the 0.90 
> version before installing the new one? My old version is located in 
> site-packages as an .egg directory.
I never use eggs myself, but you should be able to delete that egg 
directory and then install a new matplotlib version.  matplotlib doesn't 
install anything required outside of site-packages/matplotlib.
>
> As for the code to set the fonts, I use
>
> rc('font',**{'family':'sans-serif', 'sans-serif':['Helvetica']})
>
That seems to work for me for any font I throw at it.  Do you have 
usetex on, or any other non-default settings in your matplotlibrc file?  
Are you running this line (above) before any plotting?

Cheers,
Mike


-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to