Skip to content

Commit 9e1099f

Browse files
committed
explicitly add n to hover data
1 parent a04e5f3 commit 9e1099f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

vetiver/monitor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,11 @@ def plot_metrics(
157157
y=estimate,
158158
color=metric,
159159
facet_row=metric,
160-
markers=n,
160+
markers=dict(size=n),
161+
hover_data={"n": ':'},
161162
**kw,
162163
)
164+
163165
fig.for_each_annotation(lambda a: a.update(text=a.text.split("=")[-1]))
164166
fig.update_layout(showlegend=False)
165167

0 commit comments

Comments
 (0)