Answers for "matplotlib comma decimal separator"

0

matplotlib comma decimal separator

#Locale settings
import locale
# Set to German locale to get comma decimal separater
locale.setlocale(locale.LC_NUMERIC, "de_DE")

# Tell matplotlib to use the locale we set above
plt.rcParams['axes.formatter.use_locale'] = True
Posted by: Guest on March-21-2022

Code answers related to "matplotlib comma decimal separator"

Python Answers by Framework

Browse Popular Code Answers by Language