On Thursday 24 August 2006 15:03, humufr@... wrote:
> It=C5=9B 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?
It's a bug. Edin said he would work on it.
> Le jeudi 24 ao=C3=BBt 2006 13:56, vous avez =C3=A9crit=C2=A0:
> > On Thursday 24 August 2006 13:42, humufr@... 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'] =3D True
> > rcParams['mathtext.rm'] =3D 'FreeSerif.ttf'
> > rcParams['mathtext.it'] =3D 'FreeSerifItalic.ttf'
> > rcParams['mathtext.tt'] =3D 'FreeMono.ttf'
> > rcParams['mathtext.mit'] =3D 'FreeSerifItalic.ttf'
> > rcParams['mathtext.cal'] =3D 'FreeSansOblique.ttf'
> > rcParams['mathtext.nonascii'] =3D '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=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
=2D-=20
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd55@...
office: (607) 255-3819
fax: (607) 255-9001
|