Version 2.2.3
matplotlib
Fork me on GitHub

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.