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 c8d70ac

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

File tree

Expand file treeCollapse file tree

2 files changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+0
-4
lines changed

‎ci/mypy-stubtest-allowlist.txt

Copy file name to clipboardExpand all lines: ci/mypy-stubtest-allowlist.txt
-2Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/cm.pyi
-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.