Title: [Bug]: KeyError when hovering over interactive plot in ipython · Issue #29654 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: KeyError when hovering over interactive plot in ipython · Issue #29654 · matplotlib/matplotlib
X Title: [Bug]: KeyError when hovering over interactive plot in ipython · Issue #29654 · matplotlib/matplotlib
Description: Bug summary When hovering over an interactive plot, multiple KeyError: 'buttons' messages fire. Code for reproduction import matplotlib.pyplot as plt %matplotlib widget plt.plot([1, 2, 3, 4]) Actual outcome KeyError: 'buttons' Expected o...
Open Graph Description: Bug summary When hovering over an interactive plot, multiple KeyError: 'buttons' messages fire. Code for reproduction import matplotlib.pyplot as plt %matplotlib widget plt.plot([1, 2, 3, 4]) Actua...
X Description: Bug summary When hovering over an interactive plot, multiple KeyError: 'buttons' messages fire. Code for reproduction import matplotlib.pyplot as plt %matplotlib widget plt.plot([1, 2, 3, 4...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29654
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: KeyError when hovering over interactive plot in ipython","articleBody":"### Bug summary\n\nWhen hovering over an interactive plot, multiple `KeyError: 'buttons'` messages fire.\n\n### Code for reproduction\n\n```Python\nimport matplotlib.pyplot as plt\n%matplotlib widget\n\nplt.plot([1, 2, 3, 4])\n```\n\n### Actual outcome\n\nKeyError: 'buttons'\n\n\n\n### Expected outcome\n\nHovering works without error\n\n### Additional information\n\n_No response_\n\n### Operating system\n\n_No response_\n\n### Matplotlib Version\n\n3.10.0\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nNone","author":{"url":"https://github.com/lpilz","@type":"Person","name":"lpilz"},"datePublished":"2025-02-21T15:06:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/29654/matplotlib/issues/29654"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3e95c20d-dc71-a397-05e8-6b071f0880cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D4A:8DBAD:1DF9D:29479:6A52550D |
| html-safe-nonce | e8d5813ade21df9721373c1a475406ddfc7a37f9dc76dd45c0a7257aa276fe35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDRBOjhEQkFEOjFERjlEOjI5NDc5OjZBNTI1NTBEIiwidmlzaXRvcl9pZCI6IjI5MjM3ODAwMDA0ODUzNjUwMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 82dc2d7c159f68e469b3701d4ff9d33090edf81e46b943611ab8584f11b1c833 |
| hovercard-subject-tag | issue:2869288613 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/29654/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9240a0bcebb65f32f636f2d4250abec8f22d0625f182277f2c9da1258cf7c71/matplotlib/matplotlib/issues/29654 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9240a0bcebb65f32f636f2d4250abec8f22d0625f182277f2c9da1258cf7c71/matplotlib/matplotlib/issues/29654 |
| og:image:alt | Bug summary When hovering over an interactive plot, multiple KeyError: 'buttons' messages fire. Code for reproduction import matplotlib.pyplot as plt %matplotlib widget plt.plot([1, 2, 3, 4]) Actua... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lpilz |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width