Skip to content

Commit a9e656e

Browse files
committed
Clear hover text for error plot points to improve user experience
1 parent a8b0ce2 commit a9e656e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/herbie/ErrorPlot.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ function ErrorPlot() {
530530
const parent = circle.parentNode;
531531
circles.push({circle, parent, orig, expId})
532532

533-
// Done using circle ordinal & id info, reset textContent so onHover of points gives useful info for user
534-
t.textContent = orig.map((v : ordinal, i :number) => `${vars[i]}: ${herbiejs.displayNumber(ordinals.ordinalToFloat(v))}`).join('\n');
533+
// Done using circle ordinal & id info, reset textContent so onHover of points doesn't bother the user
534+
t.textContent = ''
535535
});
536536
let brushedPoints: ordinal[][] = [];
537537

0 commit comments

Comments
 (0)