|
From: Nicolas G. <nic...@ne...> - 2005-06-07 17:09:20
|
On Tuesday 07 June 2005 18:57, John Hunter wrote:
> Did you remember to quote the string
>
> from pylab import plot, title, show, rc
> rc('text', usetex=True)
> title(r'Acc\'ent')
> show()
>
I'm dumb... I took care of writing r"..." to test maths, but forgot the
leading 'r' to test the accentuated characters... sorry, everything works
like a charm !
By the way, when text.usetex is set to True, could one imagine to be able to
use string arguments to the mpl text routines whithout that leading 'r' ?
> I don't believe unicode works with usetex at this time -- file a
> support request on the sf site with an example script that you believe
> should work (eg the string works in TeX) but does does not work in
> mpl.
Well, I think I won't need them, accentuated characters are enough for me,
thanks !
nicolas
|