diff --git a/lib/matplotlib/collections.py b/lib/matplotlib/collections.py index c31c52c7b476..b13a8868e758 100644 --- a/lib/matplotlib/collections.py +++ b/lib/matplotlib/collections.py @@ -2015,6 +2015,7 @@ def __init__(self, *args, **kwargs): # super init delayed after own init because array kwarg requires # self._coordinates and self._shading super().__init__(**kwargs) + self.mouseover = False # Only needed during signature deprecation __init__.__signature__ = inspect.signature(