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

Method delaxes

lib/matplotlib/figure.py:930–934  ·  view source on GitHub ↗

Remove the `~.axes.Axes` *ax* from the figure; update the current Axes.

(self, ax)

Source from the content-addressed store, hash-verified

928 return axs
929
930 def delaxes(self, ax):
931 """
932 Remove the `~.axes.Axes` *ax* from the figure; update the current Axes.
933 """
934 self._remove_axes(ax, owners=[self._axstack, self._localaxes])
935
936 def _remove_axes(self, ax, owners):
937 """

Callers 2

clearMethod · 0.95

Calls 1

_remove_axesMethod · 0.95

Tested by 1