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

Method clear

lib/matplotlib/widgets.py:2104–2109  ·  view source on GitHub ↗

Internal event handler to clear the cursor.

(self, event)

Source from the content-addressed store, hash-verified

2102 self.needclear = False
2103
2104 def clear(self, event):
2105 """Internal event handler to clear the cursor."""
2106 if self.ignore(event) or self.canvas.is_saving():
2107 return
2108 if self.useblit:
2109 self._save_blit_background(self.canvas.copy_from_bbox(self.ax.bbox))
2110
2111 @_call_with_reparented_event
2112 def onmove(self, event):

Callers 1

disconnectMethod · 0.45

Calls 4

is_savingMethod · 0.80
_save_blit_backgroundMethod · 0.80
ignoreMethod · 0.45
copy_from_bboxMethod · 0.45

Tested by

no test coverage detected