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

Method _get_axis_name

lib/matplotlib/axis.py:739–742  ·  view source on GitHub ↗

Return the axis name.

(self)

Source from the content-addressed store, hash-verified

737 return [ax._axis_map[name] for ax in self._get_shared_axes()]
738
739 def _get_axis_name(self):
740 """Return the axis name."""
741 return next(name for name, axis in self.axes._axis_map.items()
742 if axis is self)
743
744 # During initialization, Axis objects often create ticks that are later
745 # unused; this turns out to be a very slow step. Instead, use a custom

Callers 6

_get_shared_axesMethod · 0.95
_get_shared_axisMethod · 0.95
_set_axes_scaleMethod · 0.95
_set_limMethod · 0.95
_set_tick_locationsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected