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
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
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
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:
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
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
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)
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
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
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:
10 matches
Mail list logo