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

Skip to content

Commit 28eb201

Browse files
authored
Merge pull request #26001 from meeseeksmachine/auto-backport-of-pr-25954-on-v3.7.x
Backport PR #25954 on branch v3.7.x (Add note that subfigure is still provisional to docstring)
2 parents b6ea6d7 + 7901d97 commit 28eb201

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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
@@ -1539,6 +1539,9 @@ def subfigures(self, nrows=1, ncols=1, squeeze=True,
15391539
the same as a figure, but cannot print itself.
15401540
See :doc:`/gallery/subplots_axes_and_figures/subfigures`.
15411541
1542+
.. note::
1543+
The *subfigure* concept is new in v3.4, and the API is still provisional.
1544+
15421545
Parameters
15431546
----------
15441547
nrows, ncols : int, default: 1
@@ -2140,6 +2143,9 @@ class SubFigure(FigureBase):
21402143
axsR = sfigs[1].subplots(2, 1)
21412144
21422145
See :doc:`/gallery/subplots_axes_and_figures/subfigures`
2146+
2147+
.. note::
2148+
The *subfigure* concept is new in v3.4, and the API is still provisional.
21432149
"""
21442150
callbacks = _api.deprecated(
21452151
"3.6", alternative=("the 'resize_event' signal in "

0 commit comments

Comments
 (0)