MCPcopy Create free account
hub / github.com/plotly/plotly.js / expandForErrorBars

Function expandForErrorBars

src/traces/scattergl/calc.js:134–139  ·  view source on GitHub ↗
(trace, ax, opts)

Source from the content-addressed store, hash-verified

132};
133
134function expandForErrorBars(trace, ax, opts) {
135 var extremes = trace._extremes[ax._id];
136 var errExt = findExtremes(ax, opts._bnds, {padded: true});
137 extremes.min = extremes.min.concat(errExt.min);
138 extremes.max = extremes.max.concat(errExt.max);
139}
140
141function sceneOptions(gd, subplot, trace, positions, x, y) {
142 var opts = convert.style(gd, trace);

Callers 1

calc.jsFile · 0.85

Calls 1

findExtremesFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…