I'm using a basic Debian Etch distribution.
I've attached a very simple file showing the problem. On my computer,
neither the title, nor the legend are displayed correctly, and I've got
square instead of each non ascii characters.

The attached script gives me the following informations :

matplotlib :  0.90.1
backend    :  TkAgg
encoding   :  UTF-8

I will try to install a SVN version of matplotlib and see if this works
better.
#! /usr/bin/python
# -*-coding: utf-8-*-

from numpy import arange
import pylab as p
import matplotlib
import sys

print "matplotlib : ", matplotlib.__version__
print "backend    : ", matplotlib.get_backend()
print "encoding   : ", sys.getfilesystemencoding()

x = arange(10)
y = x**2-x+4

p.plot(x, y, 'ro-', label=r'polynôme')
p.title(r'à é ï ù')
p.xlabel('x')
p.legend()
p.show()
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to