Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
chenghuzi committed Mar 13, 2021
1 parent 468bed2 commit be2af8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const distributionColors = {
}

export const HyperparameterImportances: FC<{
studyId: number, numOfTrials: number
studyId: number
numOfTrials: number
}> = ({ studyId, numOfTrials = 0 }) => {
useEffect(() => {
async function fetchAndPlotParamImportances(studyId: number) {
Expand Down
5 changes: 4 additions & 1 deletion optuna_dashboard/static/components/StudyDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ export const StudyDetail: FC = () => {
<Grid item xs={6}>
<Card className={classes.card}>
<CardContent>
<HyperparameterImportances studyId={studyIdNumber} numOfTrials={trials.length}/>
<HyperparameterImportances
studyId={studyIdNumber}
numOfTrials={trials.length}
/>
</CardContent>
</Card>
</Grid>
Expand Down

0 comments on commit be2af8e

Please sign in to comment.