Skip to content

Contour throws exceptions when trying to infer x and y axis types after switching from numerical to category. #615

Description

http://codepen.io/armintaheri/pen/NrGLxY

When plotting a contour plot with x-axis set to a numerical array, then calling restyle with a categorical array, then calling relayout with {'xaxis.type': '-'}, The following exceptions are thrown:

Error: <path> attribute d: Expected number, "M,0L,0L,270L,270Z".
Uncaught TypeError: Cannot read property '0' of undefined

And the plot does not change its axis type.

Activity

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