mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Merge pull request #105 from optuna/set-margin-top
Set margin top on each plots.
This commit is contained in:
@@ -98,6 +98,7 @@ const plotEdf = (study: StudyDetail, objectiveId: number) => {
|
||||
},
|
||||
margin: {
|
||||
l: 50,
|
||||
t: 0,
|
||||
r: 50,
|
||||
b: 50,
|
||||
},
|
||||
|
||||
@@ -130,6 +130,7 @@ const plotParamImportances = (paramsImportanceData: ParamImportances) => {
|
||||
},
|
||||
margin: {
|
||||
l: 50,
|
||||
t: 0,
|
||||
r: 50,
|
||||
b: 50,
|
||||
},
|
||||
|
||||
@@ -45,6 +45,7 @@ const plotIntermediateValue = (trials: Trial[]) => {
|
||||
const layout: Partial<plotly.Layout> = {
|
||||
margin: {
|
||||
l: 50,
|
||||
t: 0,
|
||||
r: 50,
|
||||
b: 0,
|
||||
},
|
||||
|
||||
@@ -79,6 +79,7 @@ const plotCoordinate = (study: StudyDetail, objectiveId: number) => {
|
||||
const layout: Partial<plotly.Layout> = {
|
||||
margin: {
|
||||
l: 50,
|
||||
t: 50,
|
||||
r: 50,
|
||||
b: 0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user