From 7e1685946a58656b8f3ee48679d429aee1cf70dd Mon Sep 17 00:00:00 2001 From: c-bata Date: Fri, 9 Apr 2021 16:31:14 +0900 Subject: [PATCH] Add visual improvements of pareto front --- .../static/components/GraphParetoFront.tsx | 12 +++++++++--- optuna_dashboard/static/components/StudyDetail.tsx | 14 +++++++------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/optuna_dashboard/static/components/GraphParetoFront.tsx b/optuna_dashboard/static/components/GraphParetoFront.tsx index b2d861d0..f23dc32d 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: