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

Method set_axes_locator

lib/matplotlib/axes/_base.py:1229–1238  ·  view source on GitHub ↗

Set the Axes locator. Parameters ---------- locator : Callable[[Axes, Renderer], Bbox]

(self, locator)

Source from the content-addressed store, hash-verified

1227 ax.set_position(pos, which='active')
1228
1229 def set_axes_locator(self, locator):
1230 """
1231 Set the Axes locator.
1232
1233 Parameters
1234 ----------
1235 locator : Callable[[Axes, Renderer], Bbox]
1236 """
1237 self._axes_locator = locator
1238 self.stale = True
1239
1240 def get_axes_locator(self):
1241 """

Callers 6

adjust_bboxFunction · 0.45
restore_bboxFunction · 0.45
inset_axesMethod · 0.45
set_locationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected