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

Function mockSupplyDefaults

test/jasmine/tests/axes_test.js:2528–2539  ·  view source on GitHub ↗
(axIn, axOut, axType)

Source from the content-addressed store, hash-verified

2526 var viaTemplate;
2527
2528 function mockSupplyDefaults(axIn, axOut, axType) {
2529 if(viaTemplate) {
2530 axOut._template = axIn;
2531 axIn = {};
2532 }
2533
2534 function coerce(attr, dflt) {
2535 return Lib.coerce(axIn, axOut, Cartesian.layoutAttributes, attr, dflt);
2536 }
2537
2538 handleTickValueDefaults(axIn, axOut, coerce, axType);
2539 }
2540
2541 [
2542 '(without template) ',

Callers 1

axes_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…