You are reading an old version of the documentation (v2.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.delaxes.html
matplotlib
Fork me on GitHub


Travis-CI:

This Page

matplotlib.pyplot.delaxes

matplotlib.pyplot.delaxes(*args)

Remove an axes from the current figure. If ax doesn’t exist, an error will be raised.

delaxes(): delete the current axes