Skip to content

Commit 3581c87

Browse files
committed
🔪 commented-out code
1 parent 7a67f6f commit 3581c87

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/traces/heatmap/plot.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,7 @@ function findInterp(pixel, pixArray) {
409409
}
410410

411411
function findInterpFromCenters(pixel, centerPixArray) {
412-
// if(pixel <= centerPixArray[0]) return {bin0: 0, bin1: 0, frac: 0};
413412
var maxBin = centerPixArray.length - 1;
414-
// if(pixel >= centerPixArray[lastCenter]) return {bin0: lastCenter, bin1: lastCenter, frac: 0};
415-
416413
var bin = Lib.constrain(Lib.findBin(pixel, centerPixArray), 0, maxBin);
417414
var pix0 = centerPixArray[bin];
418415
var pix1 = centerPixArray[bin + 1];

0 commit comments

Comments
 (0)