We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98d2407 commit 01a8443Copy full SHA for 01a8443
src/traces/scattergl/index.js
@@ -58,13 +58,10 @@ function calc(gd, trace) {
58
59
// we need hi-precision for scatter2d,
60
// regl-scatter2d uses NaNs for bad/missing values
61
- //
62
- // TODO should this be a Float32Array ??
63
var positions = new Array(count2);
64
for(i = 0; i < count; i++) {
65
xx = x[i];
66
yy = y[i];
67
- // TODO does d2c output any other bad value as BADNUM ever?
68
positions[i * 2] = xx === BADNUM ? NaN : xx;
69
positions[i * 2 + 1] = yy === BADNUM ? NaN : yy;
70
}
0 commit comments