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

Method _motion

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

Source from the content-addressed store, hash-verified

893 self.stop_typing()
894
895 def _motion(self, event):
896 if self.ignore(event):
897 return
898 if event.inaxes == self.ax:
899 c = self.hovercolor
900 else:
901 c = self.color
902 if c != self._lastcolor:
903 self.ax.set_facecolor(c)
904 self._lastcolor = c
905 if self.drawon:
906 self.ax.figure.canvas.draw()
907
908 def on_text_change(self, func):
909 """

Callers

nothing calls this directly

Calls 3

ignoreMethod · 0.45
set_facecolorMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected