From ed368c777d82dac307aebcd15ac4ca17b983ff56 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Tue, 8 Nov 2022 18:03:31 +0100 Subject: [PATCH] Backport PR #24399: Fix docstring of Figure.subfigures. --- lib/matplotlib/figure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/figure.py b/lib/matplotlib/figure.py index ce521fbfa9da..9d1eea7822da 100644 --- a/lib/matplotlib/figure.py +++ b/lib/matplotlib/figure.py @@ -1520,7 +1520,7 @@ def subfigures(self, nrows=1, ncols=1, squeeze=True, width_ratios=None, height_ratios=None, **kwargs): """ - Add a subfigure to this figure or subfigure. + Add a set of subfigures to this figure or subfigure. A subfigure has the same artist methods as a figure, and is logically the same as a figure, but cannot print itself.