mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-23 13:30:25 +08:00
Fix lint
This commit is contained in:
@@ -187,9 +187,7 @@ const plotSlice = (
|
||||
return t.params.find((p) => p.name == selected)!.value
|
||||
})
|
||||
|
||||
const trialNumbers: number[] = filteredTrials.map(
|
||||
(t) => t.number as number
|
||||
)
|
||||
const trialNumbers: number[] = filteredTrials.map((t) => t.number as number)
|
||||
|
||||
const isnum = valueStrings.every((v) => {
|
||||
return !isNaN(Number(v))
|
||||
@@ -204,7 +202,7 @@ const plotSlice = (
|
||||
mode: "markers",
|
||||
marker: {
|
||||
color: trialNumbers,
|
||||
colorscale: 'Blues',
|
||||
colorscale: "Blues",
|
||||
reversescale: true,
|
||||
colorbar: {
|
||||
title: "Trial",
|
||||
@@ -238,7 +236,7 @@ const plotSlice = (
|
||||
mode: "markers",
|
||||
marker: {
|
||||
color: trialNumbers,
|
||||
colorscale: 'Blues',
|
||||
colorscale: "Blues",
|
||||
reversescale: true,
|
||||
colorbar: {
|
||||
title: "Trial",
|
||||
|
||||
Reference in New Issue
Block a user