KeyError: 'buttons' when plotting with matplotlib / ipympl backend in Jupyter Notebook within VSCode presumably due to typo · Issue #29337 · matplotlib/matplotlib · GitHub
changed the title [-]KeyError: 'buttons' when plotting with matplotlib / ipympl backend presumably due to type[/-][+]KeyError: 'buttons' when plotting with matplotlib / ipympl backend in Jupyter Notebook within VSCode presumably due to type[/+]on Dec 17, 2024
Yes, this has been fixed on the ipympl side as is in today's 0.9.5 release on PyPI. The conda-forge package isn't available yet but it will be shortly.
changed the title [-]KeyError: 'buttons' when plotting with matplotlib / ipympl backend in Jupyter Notebook within VSCode presumably due to type[/-][+]KeyError: 'buttons' when plotting with matplotlib / ipympl backend in Jupyter Notebook within VSCode presumably due to typo[/+]on Dec 17, 2024
Activity
timhoffm commented on Dec 17, 2024
I haven’t looked closer, but the code has recently been touched in #28453, and it may be a typo.
rcomer commented on Dec 17, 2024
I believe this has been addressed by matplotlib/ipympl#568
ianthomas23 commented on Dec 17, 2024
Yes, this has been fixed on the ipympl side as is in today's 0.9.5 release on PyPI. The conda-forge package isn't available yet but it will be shortly.
ianthomas23 commented on Dec 17, 2024
But before we close the issue, can @gnbl confirm what versions of packages are installed, particularly ipympl and matplotlib.
gnbl commented on Dec 17, 2024
Afk, eta 14 hrs 😁
gnbl commented on Dec 18, 2024
matplotlib 3.10.0
ipympl 0.9.4
...
Successfully installed ipympl-0.9.5
Fixed in the update! Thanks.
update ipympl
gcohn commented on May 30, 2025
This was driving me nuts! pip install -U ipympl>0.9.5 for the win!