(xRange, yRange, zRange)
| 1815 | |
| 1816 | it('@gl should contribute to scene axis autorange', function(done) { |
| 1817 | function assertSceneAxisRanges(xRange, yRange, zRange) { |
| 1818 | var sceneLayout = gd._fullLayout.scene; |
| 1819 | |
| 1820 | expect(sceneLayout.xaxis.range).toBeCloseToArray(xRange, 1, 'xaxis range'); |
| 1821 | expect(sceneLayout.yaxis.range).toBeCloseToArray(yRange, 1, 'yaxis range'); |
| 1822 | expect(sceneLayout.zaxis.range).toBeCloseToArray(zRange, 1, 'zaxis range'); |
| 1823 | } |
| 1824 | |
| 1825 | Plotly.newPlot(gd, [{ |
| 1826 | type: 'scatter3d', |
no outgoing calls
no test coverage detected
searching dependent graphs…