MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _set_frame_icon

Function _set_frame_icon

lib/matplotlib/backends/backend_wx.py:1044–1051  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

1042
1043
1044def _set_frame_icon(frame):
1045 bundle = wx.IconBundle()
1046 for image in ('matplotlib.png', 'matplotlib_large.png'):
1047 icon = wx.Icon(_load_bitmap(image))
1048 if not icon.IsOk():
1049 return
1050 bundle.AddIcon(icon)
1051 frame.SetIcons(bundle)
1052
1053
1054class NavigationToolbar2Wx(NavigationToolbar2, wx.ToolBar):

Callers 1

__init__Method · 0.85

Calls 1

_load_bitmapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…