Rename log to logScale

This commit is contained in:
Simon Hessner
2021-04-22 12:10:59 +01:00
parent a72f556d11
commit ff73aaa689
@@ -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",