From 78b50f902a0cedab67179fe097604eeadcbc8e37 Mon Sep 17 00:00:00 2001 From: Jonathan Berrisch Date: Sun, 18 May 2025 22:19:13 +0200 Subject: [PATCH] Fix sigma input range --- app.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.qmd b/app.qmd index df0424f..cda104f 100644 --- a/app.qmd +++ b/app.qmd @@ -53,7 +53,7 @@ chart = { const sigControl = controlsContainer.append("div").style("display","flex").style("align-items","center").style("gap","10px"); sigControl.append("label").text("Sigma:").style("font-size","16px"); sigControl.append("input") - .attr("type","range").attr("min", -1).attr("max", 2).attr("step", 1) + .attr("type","range").attr("min", -2).attr("max", 2).attr("step", 1) .property("value", Math.log2(selectedSig)) .on("input", function() { selectedSig = 2 ** (+this.value); sigControl.select("span").text(selectedSig); updateChart(filteredData()); }); sigControl.append("span").text(selectedSig).style("font-size","16px");