From 248c0839a56756c315bcf639731eb0d76925bfb4 Mon Sep 17 00:00:00 2001
From: Antony Lee <anntzer.lee@gmail.com>
Date: Tue, 23 Jun 2020 11:29:02 +0200
Subject: [PATCH] Fix type doc for scroll event "step" attribute.

`step` is a float e.g. on Qt; this is intentional as
"some mice have finer-resolution wheels and send delta values that are
less than 120 units" (quoting the Qt docs).
---
 lib/matplotlib/backend_bases.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py
index 5bdcb6c6a64f..205f75db493b 100644
--- a/lib/matplotlib/backend_bases.py
+++ b/lib/matplotlib/backend_bases.py
@@ -1403,7 +1403,7 @@ class MouseEvent(LocationEvent):
            last change of keyboard state occurred while the canvas did not have
            focus, this attribute will be wrong.
 
-    step : int
+    step : float
         The number of scroll steps (positive for 'up', negative for 'down').
         This applies only to 'scroll_event' and defaults to 0 otherwise.