Re: [matplotlib-devel] ParseFatalException: Expected end of math '$'

2008-07-31 Thread Michael Droettboom
Arrays are not supported with the built-in math engine. You'll need to set math.usetex to True. Cheers, Mike Nils Wagner wrote: > Hi all, > > Is there a way to use > > title(r'$ M= I_3 K=\left[\begin{array}{rrr} 2\,k & -k & 0 > \\ -k & 2\,k+p & -(k+p) \\ 0 & -(k+p) & > k+p\end{array}\right]$')

[matplotlib-devel] ParseFatalException: Expected end of math '$'

2008-07-25 Thread Nils Wagner
Hi all, Is there a way to use title(r'$ M= I_3 K=\left[\begin{array}{rrr} 2\,k & -k & 0 \\ -k & 2\,k+p & -(k+p) \\ 0 & -(k+p) & k+p\end{array}\right]$') It currently fails with Exception in Tkinter callback Traceback (most recent call last): File "/data/home/nwagner/local/lib/python2.5/li