Itś working now, thanks. Just a remark why the fonts must be in mpl-data and why matplotlib is not using the fonts who are in the system?
N. Le jeudi 24 août 2006 13:56, vous avez écrit : > On Thursday 24 August 2006 13:42, [EMAIL PROTECTED] wrote: > > Hello, > > > > I saw that mathtext2 was include in the svn, I try to test it but even > > the demo is not working with the error message: > > > > > > > > ValueError: unrecognized symbol "\frac3" > > WARNING: Failure executing file: <mathtext2_demo.py> > > The demo doesn't work out of the box. You need to install download the > freefont fonts into your mpl-data directory, and then add the following > before the pylab import in mathtext2_demo.py: > > from matplotlib import rcParams > rcParams['mathtext2'] = True > rcParams['mathtext.rm'] = 'FreeSerif.ttf' > rcParams['mathtext.it'] = 'FreeSerifItalic.ttf' > rcParams['mathtext.tt'] = 'FreeMono.ttf' > rcParams['mathtext.mit'] = 'FreeSerifItalic.ttf' > rcParams['mathtext.cal'] = 'FreeSansOblique.ttf' > rcParams['mathtext.nonascii'] = 'FreeSerif.ttf' ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users