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

Method connect

lib/matplotlib/widgets.py:2242–2248  ·  view source on GitHub ↗

Connect events.

(self)

Source from the content-addressed store, hash-verified

2240 self.connect()
2241
2242 def connect(self):
2243 """Connect events."""
2244 for canvas, info in self._canvas_infos.items():
2245 info["cids"] = [
2246 canvas.mpl_connect('motion_notify_event', self.onmove),
2247 canvas.mpl_connect('draw_event', self.clear),
2248 ]
2249
2250 def disconnect(self):
2251 """Disconnect events."""

Callers 15

__init__Method · 0.95
__init__Method · 0.45
__init__Method · 0.45
normMethod · 0.45
__init__Method · 0.45
colorizerMethod · 0.45
toolmanager_connectMethod · 0.45
__init__Method · 0.45
add_axobserverMethod · 0.45
on_clickedMethod · 0.45
on_changedMethod · 0.45
on_changedMethod · 0.45

Calls 1

mpl_connectMethod · 0.80

Tested by 1

__init__Method · 0.36