8000 Fix IOError: Could not find bitmap file "stock_left.xpm" · matplotlib/matplotlib@6755bf5 · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit 6755bf5

Browse files
authored
Fix IOError: Could not find bitmap file "stock_left.xpm"
1 parent 7098926 commit 6755bf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/user_interfaces/embedding_in_wx4.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ def __init__(self, canvas, cankill):
3737
# probably want to add your own.
3838
if 'phoenix' in wx.PlatformInfo:
3939
self.AddTool(self.ON_CUSTOM, 'Click me',
40-
_load_bitmap('stock_left.xpm'),
40+
_load_bitmap('back.png'),
4141
'Activate custom contol')
4242
self.Bind(wx.EVT_TOOL, self._on_custom, id=self.ON_CUSTOM)
4343
else:
44-
self.AddSimpleTool(self.ON_CUSTOM, _load_bitmap('stock_left.xpm'),
44+
self.AddSimpleTool(self.ON_CUSTOM, _load_bitmap('back.png'),
4545
'Click me', 'Activate custom contol')
4646
self.Bind(wx.EVT_TOOL, self._on_custom, id=self.ON_CUSTOM)
4747

0 commit comments

Comments
 (0)
0