Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6f46704

Browse filesBrowse 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
Copy full SHA for 6f46704

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/figure.py

Copy file name to clipboardExpand all lines: lib/matplotlib/figure.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.