Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion galleries/examples/subplots_axes_and_figures/subfigures.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
that subfigures can also have their own child subfigures.

.. note::
``subfigure`` is new in v3.4, and the API is still provisional.
The *subfigure* concept is new in v3.4, and the API is still provisional.

"""
import matplotlib.pyplot as plt
Expand Down
6 changes: 6 additions & 0 deletions lib/matplotlib/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,9 @@ def subfigures(self, nrows=1, ncols=1, squeeze=True,
the same as a figure, but cannot print itself.
See :doc:`/gallery/subplots_axes_and_figures/subfigures`.

.. note::
The *subfigure* concept is new in v3.4, and the API is still provisional.

Parameters
----------
nrows, ncols : int, default: 1
Expand Down Expand Up @@ -2151,6 +2154,9 @@ class SubFigure(FigureBase):
axsR = sfigs[1].subplots(2, 1)

See :doc:`/gallery/subplots_axes_and_figures/subfigures`

.. note::
The *subfigure* concept is new in v3.4, and the API is still provisional.
"""

def __init__(self, parent, subplotspec, *,
Expand Down