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

Skip to content

Commit 85a05fc

Browse files
committed
Edited HoverEvent constructor for consistent argument order
1 parent 38e8cbb commit 85a05fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backend_bases.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,5 +497,6 @@ class ShowBase(_Backend):
497497
def __call__(self, block: bool | None = ...): ...
498498

499499
class HoverEvent:
500-
def __init__(self, canvas, x, y, guiEvent=None):
500+
def __init__(self, name, canvas, mouseevent, artist,
501+
guiEvent=None, **kwargs):
501502
pass

0 commit comments

Comments
 (0)