MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / _motion

Method _motion

site-packages/matplotlib/widgets.py:223–234  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

221 func(event)
222
223 def _motion(self, event):
224 if self.ignore(event):
225 return
226 if event.inaxes == self.ax:
227 c = self.hovercolor
228 else:
229 c = self.color
230 if c != self._lastcolor:
231 self.ax.set_facecolor(c)
232 self._lastcolor = c
233 if self.drawon:
234 self.ax.figure.canvas.draw()
235
236 def on_clicked(self, func):
237 """

Callers

nothing calls this directly

Calls 3

ignoreMethod · 0.45
set_facecolorMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected