MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / add_point

Method add_point

deeplabcut/gui/tracklet_toolbox.py:514–519  ·  view source on GitHub ↗
(self, center, animal, bodypart, **kwargs)

Source from the content-addressed store, hash-verified

512 self.fig.canvas.draw_idle()
513
514 def add_point(self, center, animal, bodypart, **kwargs):
515 circle = patches.Circle(center, **kwargs)
516 self.ax1.add_patch(circle)
517 dp = DraggablePoint(circle, bodypart, animal)
518 dp.connect()
519 self.dps.append(dp)
520
521 def clean_points(self):
522 for dp in self.dps:

Callers 1

add_draggable_pointsMethod · 0.95

Calls 2

connectMethod · 0.95
DraggablePointClass · 0.85

Tested by

no test coverage detected