Hi,
annotate and usetex='True' can trigger a traceback if the text is
invalid. A space or an underscore generate this behavior, I haven't
tried others.
Ubuntu 8.10, mpl svn (rev. 7032).
Once again feel free to ignore this, I just feel compelled to report all
mpl bugs :)
JLS
Example:
#-
João Luís Silva writes:
> annotate and usetex='True' can trigger a traceback if the text is
> invalid. A space or an underscore generate this behavior, I haven't
> tried others.
Thanks for the report it should be fixed now. You still get a traceback,
but now it should make more sense.
--
Jou
When I use Arial Unicode MS within matplotlib, it cannot save to any
PostScript-based formats (pdf, eps, ps). Apparently, the font has no
glyph names:
Traceback (most recent call last):
File "G:\Chem2009\GK6 Fan Dynamics\plotFanCurve.py", line 31, in
p.savefig('memo/figures/normalizedFanCur
"Andrew Hawryluk" writes:
> When I use Arial Unicode MS within matplotlib, it cannot save to any
> PostScript-based formats (pdf, eps, ps). Apparently, the font has no
> glyph names:
[...]
> glyph_name = font.get_glyph_name(gind)
> RuntimeError: Face has no glyph names
[...]
> I know that the
> -Original Message-
> From: Jouni K. Seppänen [mailto:j...@iki.fi]
> Sent: 6 Apr 2009 1:20 PM
> To: matplotlib-devel@lists.sourceforge.net
> Subject: Re: [matplotlib-devel] cannot use some fonts on pdf, ps,eps
> backends
>
> "Andrew Hawryluk" writes:
>
> > When I use Arial Unicode MS wi
There has been a recent thread discussing sympy interface to pyglet in
the context of matplotlib refactoring of the 3D code. See thread named
'Updating MPlot3D to a more recent matplotlib.'
If you are porting pyglet interface to Ipython, Ondrej might be happy to
see his sympy 3D plotting routine
"Andrew Hawryluk" writes:
>> Does it help if you set ps.fonttype and pdf.fonttype to 42 in
>> matplotlibrc?
>
> Yes, that works very well, thanks! However, it now embeds the entire
> font rather than a subset. This results in a PDF of 14.4 MB with this
> font. I ran it through ghostscript to get