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

Method set_scientific

lib/matplotlib/ticker.py:680–688  ·  view source on GitHub ↗

Turn scientific notation on or off. See Also -------- ScalarFormatter.set_powerlimits

(self, b)

Source from the content-addressed store, hash-verified

678 return self._format_maybe_minus_and_locale(self._format, xp)
679
680 def set_scientific(self, b):
681 """
682 Turn scientific notation on or off.
683
684 See Also
685 --------
686 ScalarFormatter.set_powerlimits
687 """
688 self._scientific = bool(b)
689
690 def set_powerlimits(self, lims):
691 r"""

Callers 3

test_scilimitsMethod · 0.95
test_ticklabel_formatFunction · 0.80
ticklabel_formatMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_scilimitsMethod · 0.76
test_ticklabel_formatFunction · 0.64