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

Function _assertRanges

test/jasmine/tests/splom_test.js:1446–1455  ·  view source on GitHub ↗
(msg, xRanges, yRanges)

Source from the content-addressed store, hash-verified

1444 var yaxes = ['yaxis', 'yaxis2', 'yaxis3'];
1445
1446 function _assertRanges(msg, xRanges, yRanges) {
1447 xaxes.forEach(function(n, i) {
1448 expect(gd._fullLayout[n].range)
1449 .toBeCloseToArray(xRanges[i], 0.5, n + ' range - ' + msg);
1450 });
1451 yaxes.forEach(function(n, i) {
1452 expect(gd._fullLayout[n].range)
1453 .toBeCloseToArray(yRanges[i], 0.5, n + ' range - ' + msg);
1454 });
1455 }
1456
1457 _newPlot(gd, fig)
1458 .then(function() {

Callers 1

splom_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…