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

Function assertScenes

test/jasmine/tests/gl3d_plot_interact_test.js:292–299  ·  view source on GitHub ↗
(cont, attr, val)

Source from the content-addressed store, hash-verified

290 var gd, modeBar;
291
292 function assertScenes(cont, attr, val) {
293 var sceneIds = cont._subplots.gl3d;
294
295 sceneIds.forEach(function(sceneId) {
296 var thisVal = Lib.nestedProperty(cont[sceneId], attr).get();
297 expect(thisVal).toEqual(val);
298 });
299 }
300
301 function assertCameraEye(sceneLayout, eyeX, eyeY, eyeZ) {
302 expect(sceneLayout.camera.eye.x).toEqual(eyeX);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…