8000 MNT: update Shadow init signature · matplotlib/matplotlib@d204e03 · GitHub
[go: up one dir, main page]

Skip to content

Commit d204e03

Browse files
tacaswellrcomer
andcommitted
MNT: update Shadow init signature
Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
1 parent 1e8821d commit d204e03

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