MCPcopy
hub / github.com/plotly/plotly.js / _supply

Function _supply

test/jasmine/tests/scatter_test.js:168–176  ·  view source on GitHub ↗
(patch)

Source from the content-addressed store, hash-verified

166
167 describe('selected / unselected attribute containers', function() {
168 function _supply(patch) {
169 traceIn = Lib.extendFlat({
170 mode: 'markers',
171 x: [1, 2, 3],
172 y: [2, 1, 2]
173 }, patch);
174 traceOut = {visible: true};
175 supplyDefaults(traceIn, traceOut, defaultColor, layout);
176 }
177
178 it('should fill in [un]selected.marker.opacity default when no other [un]selected is set', function() {
179 _supply({});

Callers 1

scatter_test.jsFile · 0.70

Calls 1

supplyDefaultsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…