From ff73aaa68920025d4d97eefd5db57df28e95589f Mon Sep 17 00:00:00 2001 From: Simon Hessner Date: Thu, 22 Apr 2021 12:10:59 +0100 Subject: [PATCH] Rename log to logScale --- optuna_dashboard/static/components/GraphSlice.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",