Skip to content

Commit bce3643

Browse files
committed
wx: Fix file extension for toolmanager-style toolbar
Fixes AppVeyor failure noted in matplotlib#26710 (comment)
1 parent acfef85 commit bce3643

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,8 @@ def set_history_buttons(self):
11611161
# tools for matplotlib.backend_managers.ToolManager:
11621162

11631163
class ToolbarWx(ToolContainerBase, wx.ToolBar):
1164+
_icon_extension = '.svg'
1165+
11641166
def __init__(self, toolmanager, parent=None, style=wx.TB_BOTTOM):
11651167
if parent is None:
11661168
parent = toolmanager.canvas.GetParent()

0 commit comments

Comments
 (0)