Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread Michael Droettboom
\fonts\\ttf\\STIXNonUniIta.ttf', 10.0, 57835, > 'uniE1EB'), (67.75616455078125, 2.046875, 'C:\\Python25\\ > lib\\site-packages\\matplotlib\\mpl-data\\fonts\\ttf\\STIXGeneralItalic.ttf', > 7.0, 120378, 'u1D63A')], [], {'C:\\Python25\\lib\\si > te-packages\\m

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread PHobson
om: Michael Droettboom [mailto:md...@stsci.edu] > Sent: Monday, October 12, 2009 1:38 PM > To: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] Errors with PDF (TeX-string) output > using Qt4Agg > > On 10/12/2009 04:17 PM, Jouni K. Seppänen wrote: > >

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread PHobson
\\Python25\\lib\\site-packages\\matplotlib\\mpl-data\\f onts\\ttf\\STIXGeneralItalic.ttf', set([120378])), 'C:\\Python25\\lib\\site-packages\\matplotlib\\mpl-data\\fonts\\ttf\\Vera.ttf': ('C:\\Python25\\lib\\site-packages\\matplotlib\\mpl-data\\fonts\\ttf\\Vera.ttf

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread Michael Droettboom
On 10/12/2009 04:17 PM, Jouni K. Seppänen wrote: > writes: > > >>File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_pdf.py", >> line 1378, in draw_mathtext >> self.file.output(self.encode_string(unichr(num), fonttype), Op.show) >> ValueError: unichr() arg not in range(0

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread Jouni K . Seppänen
writes: > File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_pdf.py", > line 1378, in draw_mathtext > self.file.output(self.encode_string(unichr(num), fonttype), Op.show) > ValueError: unichr() arg not in range(0x1) (narrow Python build) Right, IPython really had mangled

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread PHobson
Sheesh it's been a weird day. I failed to reply to the whole list. Jouni, sorry about the duplciate message... > writes: > > |C:\Documents and Settings\phobson>ipython26 -pylab > > From: Jouni K. Seppänen [mailto:j...@iki.fi] Could you try this in > plain Python? I'm asking because you seem

Re: [Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread Jouni K . Seppänen
writes: > |C:\Documents and Settings\phobson>ipython26 -pylab Could you try this in plain Python? I'm asking because you seem to be getting an IPython warning about a possibly corrupted traceback: > ERROR: An unexpected error occurred while tokenizing input > The following traceback may be corr

[Matplotlib-users] Errors with PDF (TeX-string) output using Qt4Agg

2009-10-12 Thread PHobson
Group, This error occurs for me with Matplotlib 0.99.1, Python 2.5.4 and 2.6.2, while using the Qt4Agg backend on Windows XP. Basically, savefig('aweomse_plot.pdf') barfs if I have some math text in there. For example: -- |C:\Documents and Settin