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

Skip to content

Commit c8d70ac

Browse files
committed
Removed corresponding type sub in related cm.pyi file and exceptions in mypy-stubtest
1 parent 3d9e7f0 commit c8d70ac

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

ci/mypy-stubtest-allowlist.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ matplotlib.figure.Figure.set_constrained_layout_pads
5050
matplotlib.figure.Figure.set_tight_layout
5151

5252
# 3.7 deprecations
53-
matplotlib.cm.register_cmap
54-
matplotlib.cm.unregister_cmap
5553

5654
# 3.8 deprecations
5755
matplotlib.cbook.get_sample_data

lib/matplotlib/cm.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class ColormapRegistry(Mapping[str, colors.Colormap]):
1919

2020
_colormaps: ColormapRegistry = ...
2121

22-
def get_cmap(name: str | colors.Colormap | None = ..., lut: int | None = ...) -> colors.Colormap: ...
23-
2422
class ScalarMappable:
2523
cmap: colors.Colormap | None
2624
colorbar: Colorbar | None

0 commit comments

Comments
 (0)