Skip to content

Animating the layout of secondary axis fails #1325

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
emanuelsetitinger opened this issue Jan 21, 2017 · 3 comments
Closed

Animating the layout of secondary axis fails #1325

emanuelsetitinger opened this issue Jan 21, 2017 · 3 comments
Labels
bug something broken

Comments

@emanuelsetitinger
Copy link

Please find a reproducible example on CodePen: http://codepen.io/EmanuelS/pen/vgmKRm

This example shows a plot of one x-axis and two y-axes. While animating the range of the x-axis and the primary y-axis works perfectly fine, the range of the secondary y-axis doesn't change after Plotly.animate.

@rreusser
Copy link
Contributor

Thanks for the report and example. I'll take a look at this later today.

@etpinard etpinard added the bug something broken label Apr 26, 2017
@alexcjohnson
Copy link
Collaborator

Looks like this is https://github.com/plotly/plotly.js/blob/master/src/plots/cartesian/transition_axes.js#L18
-> matches 'x2axis' instead of 'xaxis2' - I'm abstracting all these regexes right now, should fix this but I'll include a test to confirm.

@rreusser
Copy link
Contributor

rreusser commented Aug 31, 2017

Ah! That definitely looks like a simple error on my part.

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

4 participants