Skip to content

Commit 99f9a47

Browse files
committed
Use layout.colorway[0] as the default color for parcats traces
1 parent 4117612 commit 99f9a47

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/traces/parcats/defaults.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var mergeLength = require('../parcoords/merge_length');
2020
function handleLineDefaults(traceIn, traceOut, defaultColor, layout, coerce) {
2121

2222
coerce('line.shape');
23-
var lineColor = coerce('line.color', defaultColor);
23+
var lineColor = coerce('line.color', layout.colorway[0]);
2424
if(hasColorscale(traceIn, 'line') && Lib.isArrayOrTypedArray(lineColor)) {
2525
if(lineColor.length) {
2626
coerce('line.colorscale');
299 Bytes
Loading

0 commit comments

Comments
 (0)