Version 3.0.0
matplotlib
Fork me on GitHub

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.