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

Function checkAxis

test/jasmine/tests/plots_test.js:1235–1240  ·  view source on GitHub ↗
(axName, anchor, side, position)

Source from the content-addressed store, hash-verified

1233
1234 it('responds to xside and yside', function(done) {
1235 function checkAxis(axName, anchor, side, position) {
1236 var ax = gd._fullLayout[axName];
1237 expect(ax.anchor).toBe(anchor, axName);
1238 expect(ax.side).toBe(side, axName);
1239 expect(ax.position).toBe(position, axName);
1240 }
1241
1242 Plotly.newPlot(gd,
1243 // leave some empty rows/columns

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…