W3cubDocs

/Matplotlib 3.1

matplotlib.pyplot.delaxes

matplotlib.pyplot.delaxes(ax=None) [source]

Remove the Axes ax (defaulting to the current axes) from its figure.

A KeyError is raised if the axes doesn't exist.

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.delaxes.html