We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d578d commit 52372b5Copy full SHA for 52372b5
src/herbie/ErrorPlot.tsx
@@ -575,8 +575,8 @@ function ErrorPlot() {
575
const firstPoint = brushedPoints.length > 0 ? brushedPoints[0] : null;
576
const lastPoint = brushedPoints.length > 0 ? brushedPoints[brushedPoints.length - 1] : null;
577
578
- const firstFloat = firstPoint !== null ? ordinals.ordinalToFloat(firstPoint) : null;
579
- const lastFloat = lastPoint !== null ? ordinals.ordinalToFloat(lastPoint) : null;
+ const firstFloat = firstPoint !== null ? firstPoint.map(v => ordinals.ordinalToFloat(v)) : null;
+ const lastFloat = lastPoint !== null ? lastPoint.map(v => ordinals.ordinalToFloat(v)) : null;
580
581
setSelectedSubset({
582
selection: event.selection,
0 commit comments