-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
GUI: wxRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone
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 this still works as expected, hovering anywhere over the window floods the console with the following trace:
Traceback (most recent call last):
File "C:\Program Files\Python37\lib\site-packages\matplotlib\cbook\__init__.py", line 196, in process
func(*args, **kwargs)
File "C:\Program Files\Python37\lib\site-packages\matplotlib\backend_bases.py", line 2819, in mouse_move
self.set_message(self.mode)
File "C:\Program Files\Python37\lib\site-packages\matplotlib\backends\backend_wx.py", line 1505, in set_message
status_bar.set_function(s)
AttributeError: 'StatusBar' object has no attribute 'set_function'
This functionality worked just fine in matplotlib 3.1.3, but in 3.2.1 we get this error.
Unfortunately 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.
Matplotlib version
- Operating system: Windows 10
- Matplotlib version: 3.2.1
- Matplotlib backend: TkAgg
- Python version: 3.7
- Other libraries: wxPython 4.0.7.post2
All installed from pip.
Metadata
Metadata
Assignees
Labels
GUI: wxRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.