mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-20 13:00:32 +08:00
[feat] Make the infeasible plots dashed
This commit is contained in:
@@ -98,7 +98,7 @@ const plotIntermediateValue = (
|
||||
mode: "lines+markers",
|
||||
type: "scatter",
|
||||
name,
|
||||
...(isFeasible && { line: { color: "#CCCCCC" } }),
|
||||
...(isFeasible && { line: { color: "#CCCCCC", dash: "dash" } }),
|
||||
}
|
||||
})
|
||||
plotly.react(plotDomId, plotData, layout)
|
||||
|
||||
Reference in New Issue
Block a user