Skip to content

Commit

Permalink
feat: Improve confidence interval formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Nov 26, 2024
1 parent e5ebe61 commit 12fee7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/charts/shared/chart-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export const useNumericalYErrorVariables = (
const cil = getYConfidenceIntervalLower(d);
const ciu = getYConfidenceIntervalUpper(d);
const unit = yConfidenceIntervalUpperMeasure?.unit ?? "";
return ` -${cil}${unit}, +${ciu}${unit}`;
return `, [-${cil}${unit}, +${ciu}${unit}]`;
}
},
[
Expand Down

0 comments on commit 12fee7b

Please sign in to comment.