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

Method __init__

deeplabcut/gui/tracklet_toolbox.py:246–255  ·  view source on GitHub ↗
(self, tracker, ax, collection, alpha, alpha_other=0.2)

Source from the content-addressed store, hash-verified

244
245class PointSelector:
246 def __init__(self, tracker, ax, collection, alpha, alpha_other=0.2):
247 self.tracker = tracker
248 self.ax = ax
249 self.collection = collection
250 self.fc = collection.get_facecolors()
251 self.alpha = alpha
252 self.alpha_other = alpha_other
253 self.lasso = LassoSelector(ax, onselect=self.on_select)
254 self.is_connected = True
255 self.toggle()
256
257 def on_select(self, verts):
258 path = Path(verts)

Callers

nothing calls this directly

Calls 1

toggleMethod · 0.95

Tested by

no test coverage detected