We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b26b184 + 23a0b3d commit 7c400e9Copy full SHA for 7c400e9
lib/matplotlib/backend_bases.py
@@ -1369,6 +1369,12 @@ class MouseEvent(LocationEvent):
1369
The key pressed when the mouse event triggered, e.g. 'shift'.
1370
See `KeyEvent`.
1371
1372
+ .. warning::
1373
+ This key is currently obtained from the last 'key_press_event' or
1374
+ 'key_release_event' that occurred within the canvas. Thus, if the
1375
+ last change of keyboard state occurred while the canvas did not have
1376
+ focus, this attribute will be wrong.
1377
+
1378
step : int
1379
The number of scroll steps (positive for 'up', negative for 'down').
1380
This applies only to 'scroll_event' and defaults to 0 otherwise.
0 commit comments