diff --git a/optuna_dashboard/static/components/GraphSlice.tsx b/optuna_dashboard/static/components/GraphSlice.tsx index 92c1a136..e7755aba 100644 --- a/optuna_dashboard/static/components/GraphSlice.tsx +++ b/optuna_dashboard/static/components/GraphSlice.tsx @@ -108,7 +108,7 @@ const plotSlice = ( trials: Trial[], objectiveId: number, selected: string | null, - log: boolean + logScale: boolean ) => { if (document.getElementById(plotDomId) === null) { return @@ -132,7 +132,7 @@ const plotSlice = ( }, yaxis: { title: "Objective Values", - type: log ? "log" : "linear", + type: logScale ? "log" : "linear", zerolinecolor: "#f2f5fa", zerolinewidth: 2, linecolor: "#f2f5fa",