Callback data from plotly charts

Hi…

I have a plotly scatter plot chart with a lot of data and I really like the ability to zoom in to a region.

Is there a way of retrieving the start and end coordinates of the zoomed area so that I can update another streamlit component? some sort of call back on chart update?

Many thanks

Duarte

I believe getting Plotly events is on the roadmap for Streamlit, but not available yet. Someone did make a component for it, though.

1 Like

Many thanks… Ill take a look

Any updates on callbaks on plotly figures, on_click, on_select, on_zoom, etc? that would be such a nice feature to have in streamlit?

3 Likes