Skip to content

autorange and pushmargin interaction #2428

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

Closed
nicolaskruchten opened this issue Mar 1, 2018 · 0 comments
Closed

autorange and pushmargin interaction #2428

nicolaskruchten opened this issue Mar 1, 2018 · 0 comments
Labels
bug something broken

Comments

@nicolaskruchten
Copy link
Contributor

Double-clicking on this plot shouldn't cause a jump: https://codepen.io/nicolaskruchten/pen/yvwOJK

Per @alexcjohnson:

I’m looking at https://github.com/plotly/plotly.js/blob/master/src/plots/plots.js#L1675
it might be enough to rearrange that and say something like if(marginsChangedStuff) { if(replotting) { autoRangeAllAxes } else { Plotly.plot } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

1 participant