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

Function assertNoStaleErrorGroups

test/jasmine/tests/scattergl_test.js:220–230  ·  view source on GitHub ↗
(scene, msg)

Source from the content-addressed store, hash-verified

218
219 it('@gl should clear error bars when toggling traces with mixed error bars', function(done) {
220 function assertNoStaleErrorGroups(scene, msg) {
221 scene.error2d.groups.forEach(function(group, i) {
222 var hasSceneOptions = i < scene.count ?
223 scene.errorXOptions[i] :
224 scene.errorYOptions[i - scene.count];
225
226 if(!hasSceneOptions && group) {
227 expect(group.count).toBe(0, msg + ': group ' + i);
228 }
229 });
230 }
231
232 function assertVisibleErrorBars(msg, exp) {
233 var scene = gd._fullLayout._plots.xy._scene;

Callers 1

assertVisibleErrorBarsFunction · 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…