MCPcopy
hub / github.com/plotly/plotly.js / checkDomain

Function checkDomain

test/jasmine/tests/plots_test.js:1281–1287  ·  view source on GitHub ↗
(container, column, row, x, y)

Source from the content-addressed store, hash-verified

1279
1280 it('places other subplots in the grid by default', function(done) {
1281 function checkDomain(container, column, row, x, y) {
1282 var domain = container.domain;
1283 expect(domain.row).toBe(row);
1284 expect(domain.column).toBe(column);
1285 expect(domain.x).toBeCloseToArray(x, 3);
1286 expect(domain.y).toBeCloseToArray(y, 3);
1287 }
1288 Plotly.newPlot(gd, [{
1289 type: 'pie', labels: ['a', 'b'], values: [1, 2]
1290 }, {

Callers 1

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