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

Skip to content

Commit 22d75a8

Browse files
committed
DOC: add note about axes order to docstring
1 parent 48b7c98 commit 22d75a8

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
@@ -1738,7 +1738,9 @@ def subplot_mosaic(self, layout, *, subplot_kw=None, gridspec_kw=None,
17381738
Returns
17391739
-------
17401740
dict[label, Axes]
1741-
A dictionary mapping the labels to the Axes objects.
1741+
A dictionary mapping the labels to the Axes objects. The order of
1742+
the axes is left-to-right and top-to-bottom of their position in the
1743+
total layout.
17421744
17431745
"""
17441746
subplot_kw = subplot_kw or {}

lib/matplotlib/pyplot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,9 @@ def subplot_mosaic(layout, *, subplot_kw=None, gridspec_kw=None,
15001500
The new figure
15011501
15021502
dict[label, Axes]
1503-
A dictionary mapping the labels to the Axes objects.
1503+
A dictionary mapping the labels to the Axes objects. The order of
1504+
the axes is left-to-right and top-to-bottom of their position in the
1505+
total layout.
15041506
15051507
"""
15061508
fig = figure(**fig_kw)

0 commit comments

Comments
 (0)