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.
Thanks for the report and example. I'll take a look at this later today.
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.
Ah! That definitely looks like a simple error on my part.