Skip to content

Commit

Permalink
Add marker lines to plot_rank
Browse files Browse the repository at this point in the history
  • Loading branch information
hvy committed Apr 12, 2023
1 parent d64617c commit 862bf6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion optuna/visualization/_rank.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ def get_hover_text(trial: FrozenTrial, target_value: float) -> str:
scatter = go.Scatter(
x=info.xs,
y=info.ys,
marker={"color": colors},
marker={
"color": colors,
"line": {"width": 0.5, "color": "Grey"},
},
mode="markers",
showlegend=False,
hovertemplate="%{hovertext}<extra></extra>",
Expand Down

0 comments on commit 862bf6d

Please sign in to comment.