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 072e8f3

Browse filesBrowse files
authored
Merge pull request #25872 from tacaswell/fix_mypy_shade
MNT: update Shadow init signature
2 parents 1e8821d + d204e03 commit 072e8f3
Copy full SHA for 072e8f3

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/patches.pyi

Copy file name to clipboardExpand all lines: lib/matplotlib/patches.pyi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Patch(artist.Artist):
7474

7575
class Shadow(Patch):
7676
patch: Patch
77-
def __init__(self, patch: Patch, ox: float, oy: float, **kwargs) -> None: ...
77+
def __init__(self, patch: Patch, ox: float, oy: float, *, shade: float = ..., **kwargs) -> None: ...
7878

7979
class Rectangle(Patch):
8080
angle: float

0 commit comments

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