Skip to content

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

Closed
@mcin-armintaheri-archive

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.

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