8000 Merge pull request #25872 from tacaswell/fix_mypy_shade · matplotlib/matplotlib@072e8f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 072e8f3

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/patches.pyi

Lines 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