Skip to content

Commit db3c685

Browse files
authored
Merge pull request #19622 from anntzer/undel
Prefer Axes.remove() over Figure.delaxes() in docs.
2 parents 6a35abf + a717d3d commit db3c685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/intermediate/artists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class in the Matplotlib API, and the one you will be working with most
313313
# directly from the Axes list, but rather use the
314314
# :meth:`~matplotlib.figure.Figure.add_subplot` and
315315
# :meth:`~matplotlib.figure.Figure.add_axes` methods to insert, and the
316-
# :meth:`~matplotlib.figure.Figure.delaxes` method to delete. You are
316+
# `Axes.remove <matplotlib.artist.Artist.remove>` method to delete. You are
317317
# free however, to iterate over the list of Axes or index into it to get
318318
# access to ``Axes`` instances you want to customize. Here is an
319319
# example which turns all the Axes grids on::

0 commit comments

Comments
 (0)