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

Skip to content

Commit 08d9dc9

Browse files
authored
Merge pull request #20004 from meeseeksmachine/auto-backport-of-pr-19999-on-v3.4.x
Backport PR #19999 on branch v3.4.x (DOC: add note about axes order to docstring)
2 parents 2304852 + 1b196bc commit 08d9dc9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/matplotlib/figure.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,9 @@ def subplot_mosaic(self, layout, *, subplot_kw=None, gridspec_kw=None,
17401740
Returns
17411741
-------
17421742
dict[label, Axes]
1743-
A dictionary mapping the labels to the Axes objects.
1743+
A dictionary mapping the labels to the Axes objects. The order of
1744+
the axes is left-to-right and top-to-bottom of their position in the
1745+
total layout.
17441746
17451747
"""
17461748
subplot_kw = subplot_kw or {}

lib/matplotlib/pyplot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,9 @@ def subplot_mosaic(layout, *, subplot_kw=None, gridspec_kw=None,
15111511
The new figure
15121512
15131513
dict[label, Axes]
1514-
A dictionary mapping the labels to the Axes objects.
1514+
A dictionary mapping the labels to the Axes objects. The order of
1515+
the axes is left-to-right and top-to-bottom of their position in the
1516+
total layout.
15151517
15161518
"""
15171519
fig = figure(**fig_kw)

0 commit comments

Comments
 (0)