Skip to content

Animating the layout of secondary axis fails #1325

Description

@emanuelsetitinger

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.

Activity

  1. rreusser commented on Jan 23, 2017

    @rreusser
    Contributor

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

  2. alexcjohnson commented on Aug 31, 2017

    @alexcjohnson
    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.

  3. rreusser commented on Aug 31, 2017

    @rreusser
    Contributor

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

  4. added a commit that references this issue on Sep 13, 2017
    e036fea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions