Title: set_function not working properly in backend_wx · Issue #17085 · matplotlib/matplotlib · GitHub
Open Graph Title: set_function not working properly in backend_wx · Issue #17085 · matplotlib/matplotlib
X Title: set_function not working properly in backend_wx · Issue #17085 · matplotlib/matplotlib
Description: Bug report Bug summary There seems to be some sort of issue in backend_wx with the latest versions of matplotlib and wxPython. We have a figure window with a status bar showing the value of the point currently being hovered over. While t...
Open Graph Description: Bug report Bug summary There seems to be some sort of issue in backend_wx with the latest versions of matplotlib and wxPython. We have a figure window with a status bar showing the value of the poi...
X Description: Bug report Bug summary There seems to be some sort of issue in backend_wx with the latest versions of matplotlib and wxPython. We have a figure window with a status bar showing the value of the poi...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17085
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"set_function not working properly in backend_wx","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nThere seems to be some sort of issue in backend_wx with the latest versions of matplotlib and wxPython. We have a figure window with a status bar showing the value of the point currently being hovered over. While this still works as expected, hovering anywhere over the window floods the console with the following trace:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"C:\\Program Files\\Python37\\lib\\site-packages\\matplotlib\\cbook\\__init__.py\", line 196, in process\r\n func(*args, **kwargs)\r\n File \"C:\\Program Files\\Python37\\lib\\site-packages\\matplotlib\\backend_bases.py\", line 2819, in mouse_move\r\n self.set_message(self.mode)\r\n File \"C:\\Program Files\\Python37\\lib\\site-packages\\matplotlib\\backends\\backend_wx.py\", line 1505, in set_message\r\n status_bar.set_function(s)\r\nAttributeError: 'StatusBar' object has no attribute 'set_function'\r\n\r\n```\r\n\r\nThis functionality worked just fine in matplotlib 3.1.3, but in 3.2.1 we get this error.\r\n\r\nUnfortunately I don't have a code fragment to replicate this, sorry! It's something we've noticed while working on CellProfiler. On our end the StatusBar object looks just fine, and there doesn't seem to have been any change in the wxPython API.\r\n\r\n\r\n**Matplotlib version**\r\n * Operating system: Windows 10\r\n * Matplotlib version: 3.2.1\r\n * Matplotlib backend: TkAgg\r\n * Python version: 3.7\r\n * Other libraries: wxPython 4.0.7.post2\r\n\r\nAll installed from pip.\r\n","author":{"url":"https://github.com/DavidStirling","@type":"Person","name":"DavidStirling"},"datePublished":"2020-04-09T19:17:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/17085/matplotlib/issues/17085"}
| 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:0a6aeb8b-8963-30f9-a327-95ed23722ea7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FF0:24214A:1D52285:27EFB66:6A5405D4 |
| html-safe-nonce | 79afc231fcfcd26caed5fa794d27942ba00720498f1dada75a30c7a2b56acd2d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkYwOjI0MjE0QToxRDUyMjg1OjI3RUZCNjY6NkE1NDA1RDQiLCJ2aXNpdG9yX2lkIjoiMTM4NDE2Nzk1Mjk3MTIwNDA1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d8553dcac9dfc99eeb8373f0d7ecd1fd76ce919fd9a77942e65dc81bde6d48c1 |
| hovercard-subject-tag | issue:597497644 |
| 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/17085/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e4e9d22e72440d037c838c0ce5138de61d1ded811ec962fc540fbbd98f64107f/matplotlib/matplotlib/issues/17085 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e4e9d22e72440d037c838c0ce5138de61d1ded811ec962fc540fbbd98f64107f/matplotlib/matplotlib/issues/17085 |
| og:image:alt | Bug report Bug summary There seems to be some sort of issue in backend_wx with the latest versions of matplotlib and wxPython. We have a figure window with a status bar showing the value of the poi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DavidStirling |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width