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

Method _get_shared_axis

lib/matplotlib/axis.py:734–737  ·  view source on GitHub ↗

Return list of shared axis for current axis.

(self)

Source from the content-addressed store, hash-verified

732 self._get_axis_name()].get_siblings(self.axes)
733
734 def _get_shared_axis(self):
735 """Return list of shared axis for current axis."""
736 name = self._get_axis_name()
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."""

Callers 3

set_unitsMethod · 0.95
_set_tick_locationsMethod · 0.95
nonsingularMethod · 0.80

Calls 2

_get_axis_nameMethod · 0.95
_get_shared_axesMethod · 0.95

Tested by

no test coverage detected