Skip to content

Commit 6b7b050

Browse files
authored
Merge pull request #17738 from meeseeksmachine/auto-backport-of-pr-17729-on-v3.3.x
Backport PR #17729 on branch v3.3.x (Fix type doc for scroll event "step" attribute.)
2 parents 3766290 + 0711bbc commit 6b7b050

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)