diff --git a/src/components/common/histogram-plot.js b/src/components/common/histogram-plot.js index dd1136e7fd..b6eb37019f 100644 --- a/src/components/common/histogram-plot.js +++ b/src/components/common/histogram-plot.js @@ -73,7 +73,7 @@ function HistogramPlotFactory() { {histogram.map(bar => { - const inRange = bar.x1 <= value[1] + 1 && bar.x0 >= value[0]; + const inRange = bar.x1 <= value[1] && bar.x0 >= value[0]; const wRatio = inRange ? histogramStyle.highlightW : histogramStyle.unHighlightedW; return (