diff --git a/optuna_dashboard/static/components/GraphContour.tsx b/optuna_dashboard/static/components/GraphContour.tsx index aad82327..85f410c9 100644 --- a/optuna_dashboard/static/components/GraphContour.tsx +++ b/optuna_dashboard/static/components/GraphContour.tsx @@ -7,6 +7,7 @@ import { InputLabel, MenuItem, Select, + Typography, } from "@material-ui/core" import { createStyles, makeStyles, Theme } from "@material-ui/core/styles" @@ -14,6 +15,9 @@ const plotDomId = "graph-contour" const useStyles = makeStyles((theme: Theme) => createStyles({ + title: { + margin: "1em 0", + }, formControl: { marginBottom: theme.spacing(2), marginRight: theme.spacing(2), @@ -84,6 +88,9 @@ export const GraphContour: FC<{ + + Contour + {study !== null && study.directions.length !== 1 ? ( Objective ID: @@ -118,7 +125,7 @@ export const GraphContour: FC<{ - +
@@ -137,10 +144,11 @@ const plotContour = ( } const layout: Partial = { - title: "Contour", margin: { l: 50, + t: 0, r: 50, + b: 0, }, xaxis: { gridcolor: "#f2f5fa", diff --git a/optuna_dashboard/static/components/GraphHistory.tsx b/optuna_dashboard/static/components/GraphHistory.tsx index 1a5447d7..ddaf0bf1 100644 --- a/optuna_dashboard/static/components/GraphHistory.tsx +++ b/optuna_dashboard/static/components/GraphHistory.tsx @@ -11,6 +11,7 @@ import { Select, Radio, RadioGroup, + Typography, } from "@material-ui/core" import { createStyles, makeStyles, Theme } from "@material-ui/core/styles" @@ -18,6 +19,9 @@ const plotDomId = "graph-history" const useStyles = makeStyles((theme: Theme) => createStyles({ + title: { + margin: "1em 0", + }, formControl: { marginBottom: theme.spacing(2), }, @@ -83,6 +87,9 @@ export const GraphHistory: FC<{ + + History + {study !== null && study.directions.length !== 1 ? ( Objective ID: diff --git a/optuna_dashboard/static/components/GraphParetoFront.tsx b/optuna_dashboard/static/components/GraphParetoFront.tsx index b2d861d0..2542cdb3 100644 --- a/optuna_dashboard/static/components/GraphParetoFront.tsx +++ b/optuna_dashboard/static/components/GraphParetoFront.tsx @@ -6,6 +6,7 @@ import { FormLabel, MenuItem, Select, + Typography, } from "@material-ui/core" import { createStyles, makeStyles, Theme } from "@material-ui/core/styles" @@ -13,10 +14,12 @@ const plotDomId = "graph-pareto-front" const useStyles = makeStyles((theme: Theme) => createStyles({ + title: { + margin: "1em 0", + }, formControl: { marginBottom: theme.spacing(2), marginRight: theme.spacing(5), - marginTop: theme.spacing(10), }, }) ) @@ -51,6 +54,9 @@ export const GraphParetoFront: FC<{ {study !== null && study.directions.length !== 1 ? ( + + Pareto Front + Objective X ID: