Re: [Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-09 Thread Alejandro Weinstein
On Thu, Mar 8, 2012 at 12:45 PM, Jouni K. Seppänen wrote: > Alejandro Weinstein writes: > >> TypeError: unicode argument expected, got 'str' >> I am using MPL verion 1.2.x (built from commit 396a6446). > > That reminds me of a problem fixed in commit 680edf7, so could you > either try cherry-pick

Re: [Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-08 Thread Jouni K . Seppänen
Alejandro Weinstein writes: > TypeError: unicode argument expected, got 'str' > I am using MPL verion 1.2.x (built from commit 396a6446). That reminds me of a problem fixed in commit 680edf7, so could you either try cherry-picking that commit or updating to a later revision? Your test case doesn

[Matplotlib-users] Error when saving as PDF using $\alpha$ and 'text.usetex':True

2012-03-06 Thread Alejandro Weinstein
Hi: I am getting an error when I save a figure as PDF with a particular configuration and when I use a greek latex leter (say $\alpha$) as a ylabel. The following code illustrates the problem. ### import matplotlib.pyplot as plt import matplotlib as mpl