rzanoli commited on
Commit
ab78810
·
1 Parent(s): 2794d9a

Change tooltip background to blue in boxplot for better visibility

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -236,7 +236,11 @@ def create_boxplot_task(dataframe=None, baselines=None, references=None):
236
  boxmode="group",
237
  dragmode=False,
238
  font=dict(family="Arial", size=10),
239
- margin=dict(b=80)
 
 
 
 
240
  )
241
 
242
  # Caption
 
236
  boxmode="group",
237
  dragmode=False,
238
  font=dict(family="Arial", size=10),
239
+ margin=dict(b=80),
240
+ hoverlabel = dict(
241
+ bgcolor="blue", # background color of the tooltip
242
+ font_color="white" # text color in the tooltip
243
+ )
244
  )
245
 
246
  # Caption