From: Alejandro W. <ale...@gm...> - 2011-09-01 14:25:57
|
Hi: I am having problems with the \dagger LaTex symbol. The following code import matplotlib.pyplot as plt plt.plot([1,2,3]) plt.title(r'$ \dagger $') plt.show() produce a long Traceback that ends in File "/usr/lib/pymodules/python2.6/matplotlib/mathtext.py", line 1997, in raise_error raise ParseFatalException(msg + "\n" + s) ParseFatalException: Expected end of math '$' $ \dagger $ (at char 0), (line:1, col:1) Other LaTex symbols works OK. For instance, if I use plt.title(r'$ \diamond $') instead, it works. I checked in mathtext.py, and \dagger is in the list of symbols. I am running Matplotlib '0.99.1.1'. Any idea about this problem? Alejandro. |