Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Using drag select (lasso) as input

I saw a few R apps that use the lasso select tool to generate additional plots.
IE in Kyle Walkers latest application:

# Drag event for the scatterplot; will grab tractids of selected points
sub <- reactive({
    eventdata <- event_data('plotly_selected', source = 'source')

Is there a way to do this in Python too?
Can’t find any docs or examples on the topic

Hey @leon, We’re (slowly) working on a “Python version of R Shiny” that will be perfect for this: Stay tuned and ping us if you want to get involved :slight_smile:

Hi Jack,

Thanks the update!
What language would this be implemented in-- JavaScript?

Will follow up off form!