# Possible bug: restyled contour lines always turn out orange

**URL:** <https://community.plotly.com/t/possible-bug-restyled-contour-lines-always-turn-out-orange/12502>\
**Category:** plotly.js\
**Created:** [August 7, 2018, 3:36pm UTC](https://community.plotly.com/t/possible-bug-restyled-contour-lines-always-turn-out-orange/12502 "2018-08-07T15:36:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pttp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/pttp/32/3385_2.png) [@pttp](https://community.plotly.com/u/pttp)\
**Post date:** [August 7, 2018, 3:36pm UTC](https://community.plotly.com/t/possible-bug-restyled-contour-lines-always-turn-out-orange/12502/1 "2018-08-07T15:36:01Z")

</div>

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](https://codepen.io/etpinard/pen/mKMqMP/) by etpinard ([@etpinard](https://codepen.io/etpinard)) on [CodePen](https://codepen.io).

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