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

Method __init__

lib/matplotlib/backends/backend_wx.py:1200–1209  ·  view source on GitHub ↗
(self, toolmanager, parent=None, style=wx.TB_BOTTOM)

Source from the content-addressed store, hash-verified

1198 _icon_extension = '.svg'
1199
1200 def __init__(self, toolmanager, parent=None, style=wx.TB_BOTTOM):
1201 if parent is None:
1202 parent = toolmanager.canvas.GetParent()
1203 ToolContainerBase.__init__(self, toolmanager)
1204 wx.ToolBar.__init__(self, parent, -1, style=style)
1205 self._space = self.AddStretchableSpace()
1206 self._label_text = wx.StaticText(self, style=wx.ALIGN_RIGHT)
1207 self.AddControl(self._label_text)
1208 self._toolitems = {}
1209 self._groups = {} # Mapping of groups to the separator after them.
1210
1211 def _get_tool_pos(self, tool):
1212 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected