Points: the valid points in green

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-20 08:37:56 +01:00
1 parent 4a8b51f490
commit 810e349b42
1 file changed
+2 -2
+2 -2
View File
@@ -6,7 +6,7 @@ import { call, Selector } from "../common.jsx";
// not, set by hand: the ground truth of the benchmarks. Mainly on the runs of the emulator: the page starts on that source. A dataset per station and range, created with every point valid; // not, set by hand: the ground truth of the benchmarks. Mainly on the runs of the emulator: the page starts on that source. A dataset per station and range, created with every point valid;
// one target at a time, corr_x above corr_y; a click on a point switches it, a box sets every point inside it (mode). // one target at a time, corr_x above corr_y; a click on a point switches it, a box sets every point inside it (mode).
// Each change is saved at once. // Each change is saved at once.
const VALID = "#2a78d6", INVALID = "#e03131"; const VALID = "#2f9e44", INVALID = "#e03131";
const FONT = "Roboto, sans-serif"; const FONT = "Roboto, sans-serif";
export default function Points({ selection, choose }) { export default function Points({ selection, choose }) {
@@ -75,7 +75,7 @@ export default function Points({ selection, choose }) {
); );
} }
// corr_x above corr_y (px, the curves labelled), sharing the time; the points blue valid, red invalid // corr_x above corr_y (px, the curves labelled), sharing the time; the points green valid, red invalid
function Plot({ o, sensor, set, mode }) { function Plot({ o, sensor, set, mode }) {
const g = useRef(), [Plotly, setPlotly] = useState(null), dark = useComputedColorScheme("light") === "dark"; const g = useRef(), [Plotly, setPlotly] = useState(null), dark = useComputedColorScheme("light") === "dark";
const latest = useRef(); const latest = useRef();