matplotlib.pyplot.delaxes

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

Remove the given Axes ax from the current figure. If ax is None, the current axes is removed. 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/2.2.3/api/_as_gen/matplotlib.pyplot.delaxes.html