File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff 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 ],
You can’t perform that action at this time.
0 commit comments