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

Appearance settings

Commit 4b7038d

Browse filesBrowse files
committed
s/list/Sequence/
1 parent 7e997ae commit 4b7038d
Copy full SHA for 4b7038d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,7 +1806,7 @@ def subplot_mosaic(
18061806

18071807
@overload
18081808
def subplot_mosaic(
1809-
mosaic: list[HashableList[_T]],
1809+
mosaic: Sequence[HashableList[_T]],
18101810
*,
18111811
sharex: bool = ...,
18121812
sharey: bool = ...,
@@ -1822,7 +1822,7 @@ def subplot_mosaic(
18221822

18231823
@overload
18241824
def subplot_mosaic(
1825-
mosaic: list[HashableList[Hashable]],
1825+
mosaic: Sequence[HashableList[Hashable]],
18261826
*,
18271827
sharex: bool = ...,
18281828
sharey: bool = ...,
@@ -1837,7 +1837,7 @@ def subplot_mosaic(
18371837

18381838

18391839
def subplot_mosaic(
1840-
mosaic: str | list[HashableList[_T]] | list[HashableList[Hashable]],
1840+
mosaic: str | Sequence[HashableList[_T]] | Sequence[HashableList[Hashable]],
18411841
*,
18421842
sharex: bool = False,
18431843
sharey: bool = False,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.