Skip to content

Commit 0711bbc

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR #17729: Fix type doc for scroll event "step" attribute.
1 parent 3766290 commit 0711bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_bases.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ class MouseEvent(LocationEvent):
14031403
last change of keyboard state occurred while the canvas did not have
14041404
focus, this attribute will be wrong.
14051405
1406-
step : int
1406+
step : float
14071407
The number of scroll steps (positive for 'up', negative for 'down').
14081408
This applies only to 'scroll_event' and defaults to 0 otherwise.
14091409

0 commit comments

Comments
 (0)