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

Skip to content

Commit aaeda87

Browse files
committed
Add note that subfigure is still provisional to docstring
This matches the notes at https://matplotlib.org/stable/gallery/subplots_axes_and_figures/subfigures.html#figure-subfigures
1 parent ffd3b12 commit aaeda87

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

galleries/examples/subplots_axes_and_figures/subfigures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
that subfigures can also have their own child subfigures.
1515
1616
.. note::
17-
``subfigure`` is new in v3.4, and the API is still provisional.
17+
The *subfigure* concept is new in v3.4, and the API is still provisional.
1818
1919
"""
2020
import matplotlib.pyplot as plt

lib/matplotlib/figure.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,9 @@ def subfigures(self, nrows=1, ncols=1, squeeze=True,
15521552
the same as a figure, but cannot print itself.
15531553
See :doc:`/gallery/subplots_axes_and_figures/subfigures`.
15541554
1555+
.. note::
1556+
The *subfigure* concept is new in v3.4, and the API is still provisional.
1557+
15551558
Parameters
15561559
----------
15571560
nrows, ncols : int, default: 1
@@ -2151,6 +2154,9 @@ class SubFigure(FigureBase):
21512154
axsR = sfigs[1].subplots(2, 1)
21522155
21532156
See :doc:`/gallery/subplots_axes_and_figures/subfigures`
2157+
2158+
.. note::
2159+
The *subfigure* concept is new in v3.4, and the API is still provisional.
21542160
"""
21552161

21562162
def __init__(self, parent, subplotspec, *,

0 commit comments

Comments
 (0)