Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b5601 commit ce0d8c0Copy full SHA for ce0d8c0
1 file changed
lib/matplotlib/backends/backend_wx.py
@@ -1501,7 +1501,7 @@ def statbar(self):
1501
1502
def set_message(self, s):
1503
status_bar = self.GetTopLevelParent().GetStatusBar()
1504
- if status_bar is not None:
+ if status_bar is not None and hasattr(status_bar, 'set_function'):
1505
status_bar.set_function(s)
1506
1507
def set_history_buttons(self):
0 commit comments