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

Function replace

src/components/colorscale/cross_trace_defaults.js:8–13  ·  view source on GitHub ↗
(cont, k)

Source from the content-addressed store, hash-verified

6
7module.exports = function crossTraceDefaults(fullData, fullLayout) {
8 function replace(cont, k) {
9 var val = cont['_' + k];
10 if(val !== undefined) {
11 cont[k] = val;
12 }
13 }
14
15 function relinkColorAttrs(outerCont, cbOpt) {
16 var cont = cbOpt.container ?

Callers 1

relinkColorAttrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…