Skip to content

Commit c4dde70

Browse files
committed
no need for onOpenBounds
1 parent c10c734 commit c4dde70

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/plots/cartesian/set_convert.js

-4
Original file line numberDiff line numberDiff line change
@@ -670,14 +670,10 @@ module.exports = function setConvert(ax, fullLayout) {
670670
if(vb >= b0 && vb < b1) return BADNUM;
671671
} else {
672672
var vals = Lib.simpleMap(brk.values, ax.d2c).sort(Lib.sorterAsc);
673-
var onOpenBound = false;
674-
675673
for(var j = 0; j < vals.length; j++) {
676674
b0 = vals[j];
677675
b1 = b0 + brk.dvalue;
678676
if(v >= b0 && v < b1) return BADNUM;
679-
680-
if(onOpenBound && v === b0) return BADNUM;
681677
}
682678
}
683679
}

0 commit comments

Comments
 (0)