Skip to content

Commit f2a0704

Browse files
committed
adjust unselected.line.color dflt
1 parent af200f9 commit f2a0704

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/traces/parcoords/attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module.exports = {
139139
line: {
140140
color: {
141141
valType: 'color',
142-
dflt: '#777',
142+
dflt: '',
143143
editType: 'plot',
144144
description: 'Sets the color of unselected lines.'
145145
},

src/traces/parcoords/parcoords.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function model(layout, d, i) {
150150
var lineColor = helpers.convertTypedArray(cd0.lineColor);
151151
var line = trace.line;
152152
var deselectedLines = {
153-
color: rgba(trace.unselected.line.color),
153+
color: rgba(trace.unselected.line.color || '#777'),
154154
opacity: trace.unselected.line.opacity
155155
};
156156
var cOpts = Colorscale.extractOpts(line);

test/plot-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40360,7 +40360,7 @@
4036040360
"line": {
4036140361
"color": {
4036240362
"description": "Sets the color of unselected lines.",
40363-
"dflt": "#777",
40363+
"dflt": "",
4036440364
"editType": "plot",
4036540365
"valType": "color"
4036640366
},

0 commit comments

Comments
 (0)