Y
Hacker News
new
|
ask
|
show
|
jobs
by
LukeB42
2905 days ago
Is it possible to have the lasso tool return a list of selected data points?
1 comments
jmmease
2905 days 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...
link
LukeB42
2904 days ago
That's f'n awesome. Many thanks!
link