Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Description
Using a current install of Python and notebook, matplotlib, ipympl etc. on Windows 11 within VSCode,
%matplotlib ipympl#%matplotlib widgetimport matplotlib.pyplot as plt
and
fig, ax = plt.subplots()...ax.plot(...)
raiseKeyError: 'buttons'
inc:\Users\user\AppData\Local\Programs\Python\Python313\Lib\site-packages\matplotlib\backends\backend_webagg_core.py:295
respectively
]ifevent['buttons']&mask# State *after* press/release. |
Changing the key tobutton
resolves the error (for my use case).