MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / delaxes

Function delaxes

site-packages/matplotlib/pyplot.py:891–899  ·  view source on GitHub ↗

Remove the `Axes` *ax* (defaulting to the current axes) from its figure. A KeyError is raised if the axes doesn't exist.

(ax=None)

Source from the content-addressed store, hash-verified

889
890
891def delaxes(ax=None):
892 """
893 Remove the `Axes` *ax* (defaulting to the current axes) from its figure.
894
895 A KeyError is raised if the axes doesn't exist.
896 """
897 if ax is None:
898 ax = gca()
899 ax.figure.delaxes(ax)
900
901
902def sca(ax):

Callers 2

subplotFunction · 0.85
subplot2gridFunction · 0.85

Calls 2

gcaFunction · 0.85
delaxesMethod · 0.80

Tested by

no test coverage detected