MCPcopy Create free account
hub / github.com/matplotlib/matplotlib / check_select

Method check_select

galleries/examples/widgets/menu.py:61–66  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

59 fig.canvas.mpl_connect('button_release_event', self.check_select)
60
61 def check_select(self, event):
62 over, _ = self.rect.contains(event)
63 if not over:
64 return
65 if self.on_select is not None:
66 self.on_select(self)
67
68 def set_extent(self, x, y, w, h, depth):
69 self.rect.set(x=x, y=y, width=w, height=h)

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected