8000 [DO NOT MERGE] Add typing error · matplotlib/matplotlib@6560c60 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6560c60

Browse files
committed
[DO NOT MERGE] Add typing error
1 parent d44c905 commit 6560c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/cm.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ColormapRegistry(Mapping[str, colors.Colormap]):
1414
def register(
1515
self, cmap: colors.Colormap, *, name: str | None = ..., force: bool = ...
1616
) -> None: ...
17-
def unregister(self, name: str) -> None: ...
17+
def unregister(self, name: str) -> int: ...
1818
def get_cmap(self, cmap: str | colors.Colormap) -> colors.Colormap: ...
1919

2020
_colormaps: ColormapRegistry = ...

0 commit comments

Comments
 (0)
0