Re: [Matplotlib-users] major/minor grid settings in matplotlibrc

2013-06-03 Thread Pierre Haessig
Le 31/05/2013 13:15, Pierre Haessig a écrit : > Would it make sense to add also grid.major.* and grid.minor.* (as it > already exists for xticks) ? any feedback ? -- Pierre -- Get 100% visibility into Java/.NET code with

Re: [Matplotlib-users] major/minor grid settings in matplotlibrc

2013-06-03 Thread Matthias BUSSONNIER
Hi Pierre, Thanks for asking on the ML for me :-) I dived into the code and came up with a PR (link at the end) In short, in the constructor of Ticks , self.gridOn is set to the value of rcParam.axes.grid regardless of wether the Ticks is Major or Minor. I proposed one fix, but I'm not sure

[Matplotlib-users] matplotlib locale (language) settings: how to change default ? (e.g. in plot_date labels)

2013-06-03 Thread Clément Mayet
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

Re: [Matplotlib-users] matplotlib locale (language) settings: how to change default ? (e.g. in plot_date labels)

2013-06-03 Thread Skip Montanaro
> In my mpl.rcParams, 'axes.formatter.use_locale' is set to False. Have you tried setting this value to True? Skip -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designe

Re: [Matplotlib-users] matplotlib locale (language) settings: how to change default ? (e.g. in plot_date labels)

2013-06-03 Thread Clément Mayet
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 > -

Re: [Matplotlib-users] matplotlib locale (language) settings: how to change default ? (e.g. in plot_date labels)

2013-06-03 Thread Michael Droettboom
Have you tried setting the `LC_ALL` to `en_US` before starting up Python? Mike On 06/03/2013 09:10 AM, Clément Mayet wrote: 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 mailto:s.