Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce0d8c0

Browse files
committed
FIX: don't try to use non-standard functions on standard status bars
closes#17085
1 parent33b5601 commitce0d8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_wx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ def statbar(self):
15011501

15021502
defset_message(self,s):
15031503
status_bar=self.GetTopLevelParent().GetStatusBar()
1504-
ifstatus_barisnotNone:
1504+
ifstatus_barisnotNoneandhasattr(status_bar,'set_function'):
15051505
status_bar.set_function(s)
15061506

15071507
defset_history_buttons(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp