8000 Merge pull request #2847 from tacaswell/subplot_doc · matplotlib/matplotlib@2ee8617 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ee8617

Browse files
committed
Merge pull request #2847 from tacaswell/subplot_doc
DOC : add link to `plt.subplots` from `Figure.add_subplot`
2 parents 97eb5c7 + 01e4b6c commit 2ee8617

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/figure.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,9 @@ def add_subplot(self, *args, **kwargs):
892892
*kwargs*) then it will simply make that subplot current and
893893
return it.
894894
895+
.. seealso:: :meth:`~matplotlib.pyplot.subplot` for an
896+
explanation of the args.
897+
895898
The following kwargs are supported:
896899
897900
%(Axes)s

0 commit comments

Comments
 (0)
0