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

Function _assertPositions

test/jasmine/tests/scattergl_test.js:505–509  ·  view source on GitHub ↗
(msg, cont, exp)

Source from the content-addressed store, hash-verified

503
504 it('@gl should not cause infinite loops when coordinate arrays start/end with NaN', function(done) {
505 function _assertPositions(msg, cont, exp) {
506 var pos = gd._fullLayout._plots.xy._scene[cont]
507 .map(function(opt) { return opt.positions; });
508 expect(pos).toBeCloseTo2DArray(exp, 2, msg);
509 }
510
511 Plotly.newPlot(gd, [{
512 type: 'scattergl',

Callers 1

scattergl_test.jsFile · 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…