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

Function coerce

src/traces/heatmap/defaults.js:13–15  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

11
12module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
13 function coerce(attr, dflt) {
14 return Lib.coerce(traceIn, traceOut, attributes, attr, dflt);
15 }
16
17 var validData = handleXYZDefaults(traceIn, traceOut, coerce, layout);
18 if (!validData) {

Callers 5

defaults.jsFile · 0.70
style_defaults.jsFile · 0.70
label_defaults.jsFile · 0.70
xyz_defaults.jsFile · 0.70
coordDefaultsFunction · 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…