Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
LukeB42
· 8y ago · 0 comments
Is it possible to have the lasso tool return a list of selected data points?
Comments
[–]
jmmease
8y ago
Yes! You use the trace.on_selection method to register a callback function. Here's an example:
https://github.com/jonmmease/plotly_ipywidget_notebooks/blob...
[–]
LukeB42
OP
8y ago
That's f'n awesome. Many thanks!