MCPcopy Index your code
hub / github.com/plotly/plotly.js / _supply

Function _supply

test/jasmine/tests/parcoords_test.js:133–141  ·  view source on GitHub ↗
(traceIn)

Source from the content-addressed store, hash-verified

131
132 describe('parcoords defaults', function() {
133 function _supply(traceIn) {
134 var traceOut = { visible: true };
135 var defaultColor = '#444';
136 var layout = { font: Plots.layoutAttributes.font };
137
138 Parcoords.supplyDefaults(traceIn, traceOut, defaultColor, layout);
139
140 return traceOut;
141 }
142
143 it('\'line\' specification should yield a default color', function() {
144 var fullTrace = _supply({});

Callers 1

parcoords_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…