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

Function supplyWithTrace

test/jasmine/tests/axes_test.js:205–212  ·  view source on GitHub ↗
(trace)

Source from the content-addressed store, hash-verified

203
204 describe('autotype', function() {
205 function supplyWithTrace(trace) {
206 var fullTrace = Lib.extendDeep(
207 {type: 'scatter', xaxis: 'x', yaxis: 'y'},
208 trace
209 );
210 layoutIn = {xaxis: {}, yaxis: {}};
211 supplyLayoutDefaults(layoutIn, layoutOut, [fullTrace]);
212 }
213
214 function checkTypes(xType, yType, msg) {
215 expect(layoutOut.xaxis.type).toBe(xType, msg);

Callers 1

axes_test.jsFile · 0.85

Calls 1

supplyLayoutDefaultsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…