MCPcopy
hub / github.com/matplotlib/matplotlib / get_scale

Method get_scale

lib/matplotlib/axis.py:785–787  ·  view source on GitHub ↗

Return this Axis' scale (as a str).

(self)

Source from the content-addressed store, hash-verified

783 return self._scale.get_transform()
784
785 def get_scale(self):
786 """Return this Axis' scale (as a str)."""
787 return self._scale.name
788
789 def _set_scale(self, value, **kwargs):
790 if not isinstance(value, mscale.ScaleBase):

Callers 10

minorticks_onMethod · 0.95
_set_limMethod · 0.95
__call__Method · 0.80
figure_editFunction · 0.80
apply_callbackFunction · 0.80
_set_scaleMethod · 0.80
test_pass_scaleFunction · 0.80
axes_scales.pyFile · 0.80

Calls

no outgoing calls

Tested by 2

test_pass_scaleFunction · 0.64