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

Method on_move

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

Source from the content-addressed store, hash-verified

119 fig.canvas.mpl_connect('motion_notify_event', self.on_move)
120
121 def on_move(self, event):
122 if any(item.set_hover(event) for item in self.menuitems):
123 self.figure.canvas.draw()
124
125
126fig = plt.figure()

Callers

nothing calls this directly

Calls 2

set_hoverMethod · 0.80
drawMethod · 0.45

Tested by

no test coverage detected