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

Function coerce

src/traces/histogram/defaults.js:12–14  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

10
11module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
12 function coerce(attr, dflt) {
13 return Lib.coerce(traceIn, traceOut, attributes, attr, dflt);
14 }
15
16 var x = coerce('x');
17 var y = coerce('y');

Callers 1

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…