Remove the `Axes` *ax* (defaulting to the current axes) from its figure. A KeyError is raised if the axes doesn't exist.
(ax=None)
| 889 | |
| 890 | |
| 891 | def delaxes(ax=None): |
| 892 | """ |
| 893 | Remove the `Axes` *ax* (defaulting to the current axes) from its figure. |
| 894 | |
| 895 | A KeyError is raised if the axes doesn't exist. |
| 896 | """ |
| 897 | if ax is None: |
| 898 | ax = gca() |
| 899 | ax.figure.delaxes(ax) |
| 900 | |
| 901 | |
| 902 | def sca(ax): |
no test coverage detected