Skip to content

Commit 98d2407

Browse files
committed
use c2l instead of d2l
1 parent 40f93f7 commit 98d2407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/scattergl/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ function calc(gd, trace) {
7171

7272
if(xa.type === 'log') {
7373
for(i = 0; i < count2; i += 2) {
74-
positions[i] = xa.d2l(positions[i]);
74+
positions[i] = xa.c2l(positions[i]);
7575
}
7676
}
7777
if(ya.type === 'log') {
7878
for(i = 1; i < count2; i += 2) {
79-
positions[i] = ya.d2l(positions[i]);
79+
positions[i] = ya.c2l(positions[i]);
8080
}
8181
}
8282

0 commit comments

Comments
 (0)