Re: [matplotlib-devel] mathtext error

2008-06-06 Thread Michael Droettboom
Hmm... Can't reproduce this here. Maybe it's Python 2.4-specific (which I don't have). As a workaround, does replacing line 216 with: ParseFatalException.__init__(self, pe.pstr, pe.loc, pe.msg, pe.parserElement) work? Mike John Hunter wrote: > I'm getting an error with a mathtext string

[matplotlib-devel] mathtext error

2008-06-05 Thread John Hunter
I'm getting an error with a mathtext string from the mathtext_examples: import matplotlib.pyplot as plt ax = plt.subplot(111) s = r"$W^{3\beta}_{\delta_1 \rho_1 \sigma_2} = U^{3\beta}_{\delta_1 \rho_1} + \frac{1}{8 \pi 2} \int^{\alpha_2}_{\alpha_2} d \alpha^\prime_2 \left[\frac{ U^{2\beta}_{\delta