MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_useLocale

Method set_useLocale

lib/matplotlib/ticker.py:597–606  ·  view source on GitHub ↗

Set whether to use locale settings for decimal sign and positive sign. Parameters ---------- val : bool or None *None* resets to :rc:`axes.formatter.use_locale`.

(self, val)

Source from the content-addressed store, hash-verified

595 return self._useLocale
596
597 def set_useLocale(self, val):
598 """
599 Set whether to use locale settings for decimal sign and positive sign.
600
601 Parameters
602 ----------
603 val : bool or None
604 *None* resets to :rc:`axes.formatter.use_locale`.
605 """
606 self._useLocale = mpl._val_or_rc(val, 'axes.formatter.use_locale')
607
608 useLocale = property(fget=get_useLocale, fset=set_useLocale)
609

Callers 3

__init__Method · 0.95
test_ticklabel_formatFunction · 0.80
ticklabel_formatMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_ticklabel_formatFunction · 0.64