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

Skip to content

Commit 54189fc

Browse files
committed
DOC: tweak wording on what are allowed keys in the mosaic
1 parent e651574 commit 54189fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/figure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,8 +1841,8 @@ def subplot_mosaic(self, mosaic, *, sharex=False, sharey=False,
18411841
The string notation allows only single character Axes labels and
18421842
does not support nesting but is very terse.
18431843
1844-
Tuples may be used instead of lists and tuples may not be used
1845-
as Axes identifiers.
1844+
The Axes identifiers may be `str` or a non-iterable hashable
1845+
object (e.g. `tuple` s may not be used).
18461846
18471847
sharex, sharey : bool, default: False
18481848
If True, the x-axis (*sharex*) or y-axis (*sharey*) will be shared

0 commit comments

Comments
 (0)