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

Function coerce

src/traces/bar/defaults.js:18–20  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

16
17function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
18 function coerce(attr, dflt) {
19 return Lib.coerce(traceIn, traceOut, attributes, attr, dflt);
20 }
21
22 var len = handleXYDefaults(traceIn, traceOut, layout, coerce);
23 if (!len) {

Callers 4

supplyDefaultsFunction · 0.70
crossTraceDefaultsFunction · 0.70
handleTextFunction · 0.70
style_defaults.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…