Skip to content

Commit

Permalink
replace hardcoded field names
Browse files Browse the repository at this point in the history
  • Loading branch information
lanzhenw committed Nov 25, 2024
1 parent 3bcff41 commit 29bcdb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1158,8 +1158,8 @@ export default function Evaluation(props: EvaluationProps) {
hovertemplate:
[
"<b>count: %{z:d}</b>",
`ground_truth: %{y}`,
`predictions: %{x}`,
`${evaluation?.info?.config?.gt_field}: %{y}`,
`${evaluation?.info?.config?.pred_field}: %{x}`,
].join(" <br>") + "<extra></extra>",
},
]}
Expand Down

0 comments on commit 29bcdb3

Please sign in to comment.