Matplotlib: change displayed decimal separator

Viewed 51

I know this is actually an often asked question, but I can not find an answer to my specific question.

Is there any possibility to change the displayed decimal separator only in matplotlib?

I don't want to change any settings in locale, since I don't know how this might influence other things as for example pandas.read_csv() or pandas.DataFrame.to_csv(). Or can I just do locale._override_localeconv = {'decimal_point': ','} without influencing other parts in python?

I wonder why I have to set plt.rcParams["axes.formatter.use_locale"] = True explicitely but don't have any possibility to change the matplotlib internal values without using locale.

Thanks...

0 Answers
Related