### Bug summary When hovering over an interactive plot, multiple `KeyError: 'buttons'` messages fire. ### Code for reproduction ```Python import matplotlib.pyplot as plt %matplotlib widget plt.plot([1, 2, 3, 4]) ``` ### Actual outcome KeyError: 'buttons'  ### Expected outcome Hovering works without error ### Additional information _No response_ ### Operating system _No response_ ### Matplotlib Version 3.10.0 ### Matplotlib Backend _No response_ ### Python version _No response_ ### Jupyter version _No response_ ### Installation None