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

Method register_axis

lib/matplotlib/spines.py:209–218  ·  view source on GitHub ↗

Register an axis. An axis should be registered with its corresponding spine from the Axes instance. This allows the spine to clear any axis properties when needed.

(self, axis)

Source from the content-addressed store, hash-verified

207 self.set_position(self._position)
208
209 def register_axis(self, axis):
210 """
211 Register an axis.
212
213 An axis should be registered with its corresponding spine from
214 the Axes instance. This allows the spine to clear any axis
215 properties when needed.
216 """
217 self.axis = axis
218 self.stale = True
219
220 def clear(self):
221 """Clear the current spine."""

Callers 6

_init_axisMethod · 0.80
_init_axisMethod · 0.80
_init_axisMethod · 0.80
_init_axisMethod · 0.80
_init_axisMethod · 0.80

Calls

no outgoing calls

Tested by 2

_init_axisMethod · 0.64