diff --git a/src/util/colorScale.js b/src/util/colorScale.js index ce8a6aa9b..59aaa56a5 100644 --- a/src/util/colorScale.js +++ b/src/util/colorScale.js @@ -230,8 +230,6 @@ function createContinuousScale(colorBy, providedScale, t1nodes, t2nodes, isTempo let minMax; if (isTemporal) { // empty - minMax not needed - } else if (colorBy==="lbi") { - minMax = [0, 0.7]; /* TODO: this is for historical reasons, and we should switch to a provided scale */ } else { minMax = getMinMaxFromTree(t1nodes, t2nodes, colorBy); } @@ -274,9 +272,6 @@ function createContinuousScale(colorBy, providedScale, t1nodes, t2nodes, isTempo let legendValues; if (isTemporal) { legendValues = domain.slice(1); - } else if (colorBy==="lbi") { - /* TODO: this is for historical reasons, and we should switch to a provided scale */ - legendValues = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7]; } else { const spread = minMax[1] - minMax[0]; const dp = spread > 5 ? 2 : 3;