mo.ui.plotly only updates with new selection
I am using
mo.ui.plotly
to get a list of selected dots on a map and display the corresponding datapoints in a table below. However, if I make a selection, then double click on the map to clear the selection, the list of dicts returned stays the same (doesn't clear).8 Replies
Do you have an example? I just tried this and cannot reproduce it
marimo | FIRST Indiana Robotics FRC Teams
Explore data and build apps seamlessly with marimo, a next-generation Python notebook.
thank you! looking
i found the bug, will fix this, thanks!
Hey Mady - unfortuanely this is an existing issue in plotly. https://github.com/plotly/react-plotly.js/issues/257
GitHub
onDoubleClick is not firing for scatter plot · Issue #257 · plotly/...
We are trying for scatter plot when we double click on data point we have to catch the data points and show it in a popup. But it seems onDoubleClick is not firing.
i may have a way around this
probably just on me for not using a more correct api
Thanks for looking into this! Please let me know if there's anything I need to do.
should be all good now! i just checked out your app and looks like its working
This is fantastic, thank you so much!