Closed
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.