From d204e033c55630a7cef6e192ecfc278f79025bc7 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Fri, 12 May 2023 15:22:47 -0400 Subject: [PATCH] MNT: update Shadow init signature Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com> --- lib/matplotlib/patches.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/patches.pyi b/lib/matplotlib/patches.pyi index 1e70a1efc3be..d6e5bac12a9d 100644 --- a/lib/matplotlib/patches.pyi +++ b/lib/matplotlib/patches.pyi @@ -74,7 +74,7 @@ class Patch(artist.Artist): class Shadow(Patch): patch: Patch - def __init__(self, patch: Patch, ox: float, oy: float, **kwargs) -> None: ... + def __init__(self, patch: Patch, ox: float, oy: float, *, shade: float = ..., **kwargs) -> None: ... class Rectangle(Patch): angle: float