Skip to content

Commit 8b670e6

Browse files
authored
removed -Infinity case of absolute value
1 parent 3b8b490 commit 8b670e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/plots/gl3d/layout/tick_marks.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ function computeTickMarks(scene) {
4848
glRange[i].pixelsPerDataUnit / scene.dataScale[i];
4949

5050
if(Math.abs(axes._length) === Infinity ||
51-
Math.abs(axes._length) === -Infinity ||
5251
isNaN(axes._length)) {
5352
ticks[i] = [];
5453
} else {

0 commit comments

Comments
 (0)