non-ascii

Hello,

I am new in the list and new using matplotlib.

I am using matplotlib version 0.74

I want to write (in the title of a plot, for example) non ascii characters like á or é, but I can't.
Other problem is writting mathtex expresions with normal text: I can't put 'title(r"test $\lambda$")' because I don't see the TeX character. I can write TeX characters only if I want to see the symbols.

thanks

Hi David,

David Abreu Rodriguez wrote:

Hello,

I am new in the list and new using matplotlib.

I am using matplotlib version 0.74

You might want to go with 0.82.

I want to write (in the title of a plot, for example) non ascii characters like � or �, but I can't.

There were some problems when using e.g. date ticks (d�c etc.), IRC they were fixed in 0.80.

For title and legend stuff I use decode along these lines:

title = self.selClientData[1].decode('iso-8859-1')

Hope this helps
Werner

···

Other problem is writting mathtex expresions with normal text: I can't put 'title(r"test $\lambda$")' because I don't see the TeX character. I can write TeX characters only if I want to see the symbols.

thanks

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click