Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7b5db4

Browse files
committed
fix artist.pyi
1 parent a1438c7 commit b7b5db4

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

lib/matplotlib/artist.pyi

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,8 @@ class Artist:
7878
]: ...
7979
def hoverable(self) -> bool: ...
8080
def hover(self, mouseevent: MouseEvent) -> None: ...
81-
def set_hover(
82-
self,
83-
hover: None
84-
| bool,
85-
) -> None: ...
86-
def get_hover(
87-
self,
88-
) -> None | bool[
89-
[Artist, MouseEvent], str
90-
]: ...
81+
def set_hover(self, hover: None | bool) -> None: ...
82+
def get_hover(self) -> None | bool: ...
9183
def get_url(self) -> str | None: ...
9284
def set_url(self, url: str | None) -> None: ...
9385
def get_gid(self) -> str | None: ...

0 commit comments

Comments
 (0)