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

Function coerce

src/components/colorscale/layout_defaults.js:10–12  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

8
9module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) {
10 function coerce(attr, dflt) {
11 return Lib.coerce(layoutIn, layoutOut, colorScaleAttrs, attr, dflt);
12 }
13
14 coerce('colorscale.sequential');
15 coerce('colorscale.sequentialminus');

Callers 2

defaults.jsFile · 0.70
layout_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…