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

Function totalPixels

test/jasmine/tests/scatterpolargl_test.js:157–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 function totalPixels() {
158 return readPixel(gd.querySelector('.gl-canvas-context'), 0, 0, 400, 400)
159 .reduce(function(acc, v) { return acc + v; }, 0);
160 }
161
162 function assertEventData(actual, expected) {
163 expect(actual.points.length).toBe(expected.points.length);

Callers 1

Calls 1

readPixelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…