Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 656ca9d

Browse files
committed
locale formatting: minor docstring and comment cleanups
1 parent 6594083 commit 656ca9d

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ def ticklabel_format(self, **kwargs):
21092109
used.
21102110
*axis* [ 'x' | 'y' | 'both' ]
21112111
*useLocale* If True, format the number according to
2112-
the current locale. The affects things
2112+
the current locale. This affects things
21132113
such as the character used for the
21142114
decimal separator. If False, use
21152115
C-style (English) formatting. The

matplotlibrc.template

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,13 @@ backend : %(backend)s
212212
#axes.formatter.limits : -7, 7 # use scientific notation if log10
213213
# of the axis range is smaller than the
214214
# first or larger than the second
215-
#axes.formatter.use_locale : False # When True, format tick labels according to the user's locale.
216-
# For example, use ',' as a decimal separator in the fr_FR locale.
215+
#axes.formatter.use_locale : False # When True, format tick labels
216+
# according to the user's locale.
217+
# For example, use ',' as a decimal
218+
# separator in the fr_FR locale.
217219
#axes.unicode_minus : True # use unicode for the minus symbol
218-
# rather than hypen. See http://en.wikipedia.org/wiki/Plus_sign#Plus_sign
220+
# rather than hypen. See
221+
# http://en.wikipedia.org/wiki/Plus_sign
219222
#axes.color_cycle : b, g, r, c, m, y, k # color cycle for plot lines
220223
# as list of string colorspecs:
221224
# single letter, long name, or

0 commit comments

Comments
 (0)