Re: [Matplotlib-users] latex rendering weirdness

2009-05-05 Thread Willi Richert
Hi, I just found the problem: I pass the legend labels via the command line. There, of course $M$ is interpreted as a shell variable. Escaping all $ and \ it works now. Thanks, wr Am Montag, 4. Mai 2009 17:54:19 schrieb Matthias Michler: > Hello, > > could you please provide a stand-alone exam

Re: [Matplotlib-users] latex rendering weirdness

2009-05-04 Thread Matthias Michler
Hello, could you please provide a stand-alone example of what is failing and what version/ backend you are using? for me the following works (with mpl-0.98.6svn and backend 'GTKAgg'): text(0.25, 0.75, r"$M_\theta$") regards Matthias PS: You can access the used backend and the matplotlib versi

[Matplotlib-users] latex rendering weirdness

2009-05-04 Thread Willi Richert
Hi, why is $\sum M_\theta$ rendered correctly, but $M_\theta$" is printed as "_\theta$"? Regards, wr -- Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity feature