Skip to content

Commit

Permalink
Add LPI, fANOVA and ablation paths for two objectives
Browse files Browse the repository at this point in the history
  • Loading branch information
daphne12345 committed Aug 29, 2024
1 parent d279a5a commit 0472a50
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion deepcave/plugins/hyperparameter/ablation_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,5 +592,25 @@ def load_outputs_mo(run, inputs, outputs) -> List[go.Figure]: # type: ignore

save_image(fig, "ablation_path_performance.pdf")

# create fake figure to hide the second figure which does not exists for MO
white_fig = go.Figure()
white_fig.update_layout(
paper_bgcolor="white",
plot_bgcolor="white",
xaxis=dict(
showgrid=False,
zeroline=False,
visible=False
),
yaxis=dict(
showgrid=False,
zeroline=False,
visible=False
),
font=dict(
color="white"
),
showlegend=False
)

return [fig, go.Figure()]
return [fig, white_fig]

0 comments on commit 0472a50

Please sign in to comment.