Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb06433c

Browse files
authored
Merge pull request#24891 from tacaswell/doc_mosaic_not_provisional
DOC: mark mosaic as no longer provisional
2 parentsd12ea34 +0bc10e9 commitb06433c

File tree

7 files changed

+22
-20
lines changed

7 files changed

+22
-20
lines changed

‎doc/users/next_whats_new/per_subplot_mosaic.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
``subplot_mosaic`` no longer provisional
2+
----------------------------------------
3+
4+
The API on `.Figure.subplot_mosaic` and `.pyplot.subplot_mosaic` are now
5+
considered stable and will change under Matplotlib's normal deprecation
6+
process.
7+
8+
19
Per-subplot keyword arguments in ``subplot_mosaic``
210
----------------------------------------------------
311

‎doc/users/prev_whats_new/whats_new_3.3.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ or as a string (with single-character Axes labels):
5050
ha='center', va='center', fontsize=36,
5151
color='darkgrey')
5252

53-
See:doc:`/tutorials/provisional/mosaic` for more details and examples.
53+
See:doc:`/gallery/subplots_axes_and_figures/mosaic` for more details and examples.
5454

5555
``GridSpec.subplots()``
5656
-----------------------

‎tutorials/provisional/mosaic.pyrenamed to‎examples/subplots_axes_and_figures/mosaic.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
"""
2-
=======================================
3-
Complex and semantic figure composition
4-
=======================================
2+
.. redirect-from:: /tutorials/provisional/mosaic
53
6-
.. warning::
74
8-
This tutorial documents experimental / provisional API.
9-
We are releasing this in v3.3 to get user feedback. We may
10-
make breaking changes in future versions with no warning.
115
6+
========================================================
7+
Complex and semantic figure composition (subplot_mosaic)
8+
========================================================
129
1310
Laying out Axes in a Figure in a non-uniform grid can be both tedious
1411
and verbose. For dense, even grids we have `.Figure.subplots` but for

‎lib/matplotlib/figure.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,12 +1797,7 @@ def subplot_mosaic(self, mosaic, *, sharex=False, sharey=False,
17971797
17981798
This is a helper function to build complex GridSpec layouts visually.
17991799
1800-
.. note::
1801-
1802-
This API is provisional and may be revised in the future based on
1803-
early user feedback.
1804-
1805-
See :doc:`/tutorials/provisional/mosaic`
1800+
See :doc:`/gallery/subplots_axes_and_figures/mosaic`
18061801
for an example and full API documentation
18071802
18081803
Parameters

‎lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ def subplot_mosaic(mosaic, *, sharex=False, sharey=False,
15041504
This API is provisional and may be revised in the future based on
15051505
early user feedback.
15061506
1507-
See :doc:`/tutorials/provisional/mosaic`
1507+
See :doc:`/gallery/subplots_axes_and_figures/mosaic`
15081508
for an example and full API documentation
15091509
15101510
Parameters

‎tutorials/intermediate/arranging_axes.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232
3333
`~matplotlib.pyplot.subplot_mosaic`
3434
A simple way to create figures and a grid of Axes, with the added
35-
flexibility that Axes can also span rows or columns. The Axes
36-
are returned in a labelled dictionary instead of an array. See also
37-
`.Figure.subplot_mosaic` and :doc:`/tutorials/provisional/mosaic`.
35+
flexibility that Axes can also span rows or columns. The Axes are returned
36+
in a labelled dictionary instead of an array. See also
37+
`.Figure.subplot_mosaic` and
38+
:doc:`/gallery/subplots_axes_and_figures/mosaic`.
3839
3940
Sometimes it is natural to have more than one distinct group of Axes grids,
4041
in which case Matplotlib has the concept of `.SubFigure`:
@@ -393,7 +394,8 @@ def squiggle_xy(a, b, c, d, i=np.arange(0.0, 2*np.pi, 0.05)):
393394
# More reading
394395
# ============
395396
#
396-
# - More details about :doc:`subplot mosaic </tutorials/provisional/mosaic>`.
397+
# - More details about :doc:`subplot mosaic
398+
# </gallery/subplots_axes_and_figures/mosaic>`.
397399
# - More details about :doc:`constrained layout
398400
# </tutorials/intermediate/constrainedlayout_guide>`, used to align
399401
# spacing in most of these examples.

‎tutorials/introductory/quick_start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def my_plotter(ax, data1, data2, param_dict):
566566
###############################################################################
567567
# Matplotlib has quite sophisticated tools for arranging Axes: See
568568
# :doc:`/tutorials/intermediate/arranging_axes` and
569-
# :doc:`/tutorials/provisional/mosaic`.
569+
# :doc:`/gallery/subplots_axes_and_figures/mosaic`.
570570
#
571571
#
572572
# More reading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp