I found one more solution which makes use of the sansmath.py style, available at
http://www.tug.org/tex-archive/macros/latex/contrib/misc/sansmath.sty.
To use it with matplotlib I updated the 'sans-serif' member of the font_info
dict:
'sans-serif': ('cmss', '\usepackage{sansmath}'),
and to the end of sansmath.py I added
\sansmath
to activate sans math mode upon loading. Then, choosing 'sans-serif' as first
sansserif font in .matplotlibrc you get nice serif free math text.
It should be easy to add this to the matplotlib distro.
Christian
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users