MCPcopy Create free account
hub / github.com/DeepLabCut/DeepLabCut / clean_points

Method clean_points

deeplabcut/gui/tracklet_toolbox.py:521–527  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

519 self.dps.append(dp)
520
521 def clean_points(self):
522 for dp in self.dps:
523 dp.annot.set_visible(False)
524 dp.disconnect()
525 self.dps = []
526 for patch in self.ax1.patches[::-1]:
527 patch.remove()
528
529 def add_draggable_points(self):
530 self.clean_points()

Callers 2

add_draggable_pointsMethod · 0.95

Calls 2

removeMethod · 0.80
disconnectMethod · 0.45

Tested by

no test coverage detected