Skip to content

Commit 4b09c96

Browse files
committed
💄plotly_dark possible for graph
1 parent 71f4ea7 commit 4b09c96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎corrai/optimize.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,7 @@ def plot_parameter_forest(
10521052
optimal_values: dict[str, float] | list[float] | pd.Series,
10531053
mode: str = "normalized",
10541054
title: str = None,
1055+
template: str = "plotly_white",
10551056
**plot_kwargs,
10561057
) -> go.Figure:
10571058
"""
@@ -1319,10 +1320,9 @@ def plot_parameter_forest(
13191320
tickvals=y_tickvals,
13201321
ticktext=y_ticktext,
13211322
showgrid=True,
1322-
gridcolor="#eeeeee",
13231323
zeroline=False,
13241324
),
1325-
plot_bgcolor="white",
1325+
template=template,
13261326
legend=dict(orientation="h", yanchor="bottom", y=1.0, xanchor="right", x=1),
13271327
autosize=True,
13281328
margin=dict(l=70, r=30, t=40, b=b_margin),

0 commit comments

Comments
 (0)