matplotlib.pyplot.delaxes matplotlib.pyplot.delaxes(ax=None) Remove an Axes (defaulting to the current Axes) from its figure.