Skip to content

Commit 01a8443

Browse files
committed
🔪 TODOs
1 parent 98d2407 commit 01a8443

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/traces/scattergl/index.js

-3
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,10 @@ function calc(gd, trace) {
5858

5959
// we need hi-precision for scatter2d,
6060
// regl-scatter2d uses NaNs for bad/missing values
61-
//
62-
// TODO should this be a Float32Array ??
6361
var positions = new Array(count2);
6462
for(i = 0; i < count; i++) {
6563
xx = x[i];
6664
yy = y[i];
67-
// TODO does d2c output any other bad value as BADNUM ever?
6865
positions[i * 2] = xx === BADNUM ? NaN : xx;
6966
positions[i * 2 + 1] = yy === BADNUM ? NaN : yy;
7067
}

0 commit comments

Comments
 (0)