Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f46704

Browse files
committed
Fix docstring of Figure.subfigures.
subfigures() usually adds more than one subfigure at a time, despite what the docstring previously said. Fix that. The new wording mostly matches the one of subplots().
1 parent 3d6c3da commit 6f46704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ def subfigures(self, nrows=1, ncols=1, squeeze=True,
15121512
width_ratios=None, height_ratios=None,
15131513
**kwargs):
15141514
"""
1515-
Add a subfigure to this figure or subfigure.
1515+
Add a set of subfigures to this figure or subfigure.
15161516
15171517
A subfigure has the same artist methods as a figure, and is logically
15181518
the same as a figure, but cannot print itself.

0 commit comments

Comments
 (0)