reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Getting relayout parameters from Plotly figures

Open teristam opened this issue 1 year ago β€’ 1 comments

Currently the on_relayout callback of Plotly figure doesn't return any argument, especially the current zoom-in axis coordinates. Plotly.js does remit these values as far as I know (https://plotly.com/javascript/plotlyjs-events/#update-data) Having these information is important for efficiency reason, e.g. the backend may down-sample the data before sending it over to Plotly. I hope this feature can be added.

Thank you!

teristam avatar Dec 12 '24 19:12 teristam