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

Function coerce

src/traces/histogram/cross_trace_defaults.js:32–34  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

30 var i, j, k;
31
32 function coerce(attr, dflt) {
33 return Lib.coerce(traceOut._input, traceOut, traceOut._module.attributes, attr, dflt);
34 }
35
36 function orientation2binDir(traceOut) {
37 return traceOut.orientation === 'v' ? 'x' : 'y';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…