Method
__init__
(self, tracker, ax, collection, alpha, alpha_other=0.2)
Source from the content-addressed store, hash-verified
| 244 | |
| 245 | class 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
Tested by
no test coverage detected