Yes, I've tried this :
locale.setlocale(locale.LC_ALL,'en_US')
mpl.rcParams['axes.formatter.use_locale'] = True
But it has no effect.
2013/6/3 Skip Montanaro
> > In my mpl.rcParams, 'axes.formatter.use_locale' is set to False.
>
> Have you tried setting this value to True?
>
> Skip
>
-
Hi all,
I would like to know how to set locale settings for matplotlib.
When I use the plot_date function, labels are in french (my system's
default locale). I would like english. I tried to set locale and it works
ok with strftime :
import locale
print(locale.getlocale())
('fr_FR', 'UTF-8')
myda