Re: [matplotlib-devel] empty mathtext "$$" in labels generates an exception

2008-06-04 Thread Michael Droettboom
I was able to fix this without too much trouble, so I have committed it on the trunk. Cheers, Mike Jörgen Stenarson wrote: > Michael Droettboom skrev: >> I see that this isn't a LaTeX error, but I think Tony's comment is >> still somewhat valid. Since mathtext's parser is a direct subset of >

Re: [matplotlib-devel] empty mathtext "$$" in labels generates an exception

2008-06-04 Thread Michael Droettboom
I see that this isn't a LaTeX error, but I think Tony's comment is still somewhat valid. Since mathtext's parser is a direct subset of LaTeX's, and since $$ is a syntax error in LaTeX, it also is in mathtext. (This is really a side effect of make such a direct copy of the parser, rather than

Re: [matplotlib-devel] empty mathtext "$$" in labels generates an exception

2008-06-03 Thread Jörgen Stenarson
Tony Yu skrev: > > On Jun 3, 2008, at 4:18 PM, Jörgen Stenarson wrote: >> using an empty mathtext "$$" in labels generates an exception. See >> example and traceback below. > > My guess is that this is a LaTeX error. If you enter $$ in a normal > LaTeX document, you will get: > > I don't think

Re: [matplotlib-devel] empty mathtext "$$" in labels generates an exception

2008-06-03 Thread Tony Yu
On Jun 3, 2008, at 4:18 PM, Jörgen Stenarson wrote: using an empty mathtext "$$" in labels generates an exception. See example and traceback below. My guess is that this is a LaTeX error. If you enter $$ in a normal LaTeX document, you will get: pdflatex -interaction=nonstopmode -file-line

[matplotlib-devel] empty mathtext "$$" in labels generates an exception

2008-06-03 Thread Jörgen Stenarson
Hi, using an empty mathtext "$$" in labels generates an exception. See example and traceback below. /Jörgen from pylab import * from numpy import * x=arange(0,2*pi,0.1) plot(x,sin(x)) title(r"$$") show() Exception in Tkinter callback Traceback (most recent call last): File "C:\python25\l