Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a4d82fe

Browse filesBrowse files
authored
Merge pull request #14188 from timhoffm/mouseevent-dblclick
Clarify scope of MouseEvent attributes
2 parents 8bacee9 + bc18731 commit a4d82fe
Copy full SHA for a4d82fe

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,9 +1409,12 @@ class MouseEvent(LocationEvent):
14091409
14101410
step : scalar
14111411
The number of scroll steps (positive for 'up', negative for 'down').
1412+
This applies only to 'scroll_event' and defaults to 0 otherwise.
14121413
14131414
dblclick : bool
1414-
Whether the event is a double-click.
1415+
Whether the event is a double-click. This applies only to
1416+
'button_press_event' and is False otherwise. In particular, it's
1417+
not used in 'button_release_event'.
14151418
14161419
Examples
14171420
--------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.