Possible bug: restyled contour lines always turn out orange

Hi everyone,

If I try to restyle a contour line, I am able to change the line width, but the color always comes out orange instead of the color I specified. Am I doing something incorrectly? If not, is there a workaround?

You can see the effect if you look at this pen and insert the JS code below:

See the Pen mKMqMP by etpinard (@etpinard) on CodePen.

Plotly.restyle(‘graph’,{
line: {width: 3},
colorscale: [[0, ‘blue’], [1, ‘blue’]]
},1);