Re: [Matplotlib-users] tk, pylab and unicode

2007-08-09 Thread Xavier Gnata
ok look like a missing font on my box. Will see... Xavier I installed the necessary stuff in my LaTeX installation from here: http://www.unruh.de/DniQ/latex/unicode/ and it's now working even when usetex is on. It would be great to figure out why it's broken for you. Do you get any

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-08 Thread Michael Droettboom
Xavier Gnata wrote: With a = ué I get no error but also nothing as a title. No strange characters. Nothing. This is working for me with the latest svn version, as well as 0.90.1, on Linux with Python 2.5 and Tcl/Tk 8.4. There are other things that could be going wrong. The encoding of your

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-08 Thread Michael Droettboom
I should clarify, I have this working with the TkAgg backend and text.usetex : False. If text.usetex : True, I can't confirm or deny whether that works since I don't have a proper LaTeX ucs.sty setup here to test with. As an aside, if you're looking to Gtk as a way around this, the Gtk

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-08 Thread Michael Droettboom
I installed the necessary stuff in my LaTeX installation from here: http://www.unruh.de/DniQ/latex/unicode/ and it's now working even when usetex is on. It would be great to figure out why it's broken for you. Do you get any error output from LaTeX? Cheers, Mike Michael Droettboom wrote:

[Matplotlib-users] tk, pylab and unicode

2007-08-07 Thread Xavier Gnata
Hello, I'm a french user and I'm trying to put an 'é' into a pylab title. My locales and fully utf-8 and the code is the following under ipthon: import pylab a=é pylab.plot([1]) pylab.title(a) raises the error : UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-07 Thread Xavier Gnata
Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works. But is always fails using matplotlib.rc('text',usetex=True)...side effect... Xavier Hello, I'm a french user and I'm trying to put an 'é' into a pylab title. My locales and fully utf-8 and the code is the following

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-07 Thread Jouni K . Seppänen
Xavier Gnata [EMAIL PROTECTED] writes: I'm a french user and I'm trying to put an 'é' into a pylab title. Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works. But is always fails using matplotlib.rc('text',usetex=True) As a workaround, does \'e (as in rf\'evrier)

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-07 Thread Xavier Gnata
Jouni K. Seppänen wrote: Xavier Gnata [EMAIL PROTECTED] writes: I'm a french user and I'm trying to put an 'é' into a pylab title. Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works. But is always fails using matplotlib.rc('text',usetex=True) As

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-07 Thread Michael Droettboom
Xavier Gnata wrote: Hello, I'm a french user and I'm trying to put an 'é' into a pylab title. My locales and fully utf-8 and the code is the following under ipthon: import pylab a=é pylab.plot([1]) pylab.title(a) raises the error : UnicodeDecodeError: 'ascii' codec can't decode byte

Re: [Matplotlib-users] tk, pylab and unicode

2007-08-07 Thread Xavier Gnata
Hello, I'm a french user and I'm trying to put an 'é' into a pylab title. My locales and fully utf-8 and the code is the following under ipthon: import pylab a=é pylab.plot([1]) pylab.title(a) raises the error : UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: