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

Method _get_groupframe

lib/matplotlib/backends/_backend_tk.py:1060–1068  ·  view source on GitHub ↗
(self, group)

Source from the content-addressed store, hash-verified

1058 self._toolitems[name].append(button)
1059
1060 def _get_groupframe(self, group):
1061 if group not in self._groups:
1062 if self._groups:
1063 self._add_separator()
1064 frame = tk.Frame(master=self, borderwidth=0)
1065 frame.pack(side=tk.LEFT, fill=tk.Y)
1066 frame._label_font = self._label_font
1067 self._groups[group] = frame
1068 return self._groups[group]
1069
1070 def _add_separator(self):
1071 return NavigationToolbar2Tk._Spacer(self)

Callers 1

add_toolitemMethod · 0.95

Calls 1

_add_separatorMethod · 0.95

Tested by

no test coverage detected