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

Method _ensure_position_is_set

lib/matplotlib/spines.py:203–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

201 return self._path
202
203 def _ensure_position_is_set(self):
204 if self._position is None:
205 # default position
206 self._position = ('outward', 0.0) # in points
207 self.set_position(self._position)
208
209 def register_axis(self, axis):
210 """

Callers 2

get_positionMethod · 0.95
get_spine_transformMethod · 0.95

Calls 1

set_positionMethod · 0.95

Tested by

no test coverage detected