Merge pull request #105 from optuna/set-margin-top

Set margin top on each plots.
This commit is contained in:
Masashi Shibata
2021-06-09 15:10:30 +09:00
committed by GitHub
4 changed files with 4 additions and 0 deletions
@@ -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,
},