Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting relayout parameters from Plotly figures #4532

Open
teristam opened this issue Dec 12, 2024 · 1 comment
Open

Getting relayout parameters from Plotly figures #4532

teristam opened this issue Dec 12, 2024 · 1 comment
Labels
enhancement Anything you want improved

Comments

@teristam
Copy link

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 teristam added the enhancement Anything you want improved label Dec 12, 2024
Copy link

linear bot commented Dec 12, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Anything you want improved
Projects
None yet
Development

No branches or pull requests

1 participant