Skip to content

Commit eddfe6d

Browse files
committed
fix: close #233
1 parent e8fff83 commit eddfe6d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/rtichoke/helpers/plotly_helper_functions.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,7 +1823,7 @@ def marker_values_for_cutoff(
18231823
x=initial_xs[idx],
18241824
y=initial_ys[idx],
18251825
text=initial_texts[idx],
1826-
hovertext=initial_texts[idx],
1826+
# hovertext=initial_texts[idx],
18271827
mode="markers",
18281828
marker={
18291829
"size": 12,
@@ -1837,9 +1837,15 @@ def marker_values_for_cutoff(
18371837
name=f"{group} @ cutoff",
18381838
legendgroup=group,
18391839
hoverlabel=dict(
1840-
bgcolor=rtichoke_curve_list["colors_dictionary"].get(group),
1841-
bordercolor=rtichoke_curve_list["colors_dictionary"].get(group),
1842-
font_color="white",
1840+
bgcolor="#f6e3be"
1841+
if not rtichoke_curve_list["multiple_reference_groups"]
1842+
else rtichoke_curve_list["colors_dictionary"].get(group),
1843+
bordercolor="#f6e3be"
1844+
if not rtichoke_curve_list["multiple_reference_groups"]
1845+
else rtichoke_curve_list["colors_dictionary"].get(group),
1846+
font_color="black"
1847+
if not rtichoke_curve_list["multiple_reference_groups"]
1848+
else "white",
18431849
),
18441850
showlegend=False,
18451851
hoverinfo="text",
@@ -1895,7 +1901,7 @@ def marker_values_for_cutoff(
18951901
"x": xs,
18961902
"y": ys,
18971903
"text": texts,
1898-
"hovertext": texts,
1904+
# "hovertext": texts,
18991905
},
19001906
dyn_idx,
19011907
],

0 commit comments

Comments
 (0)