From 6f467043008e21785cf286bc05904fe7b8636ea9 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Tue, 8 Nov 2022 15:26:15 +0100 Subject: [PATCH] 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(). --- 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 b1e251940210..147500dd5451 100644 --- a/lib/matplotlib/figure.py +++ b/lib/matplotlib/figure.py @@ -1512,7 +1512,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. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy