zavavan commited on
Commit
b5ad794
·
verified ·
1 Parent(s): 4ae3280

Update dashboard.py

Browse files
Files changed (1) hide show
  1. dashboard.py +2 -2
dashboard.py CHANGED
@@ -417,7 +417,7 @@ def hook1(plot, element):
417
  plot.handles['xaxis'].axis_line_alpha = 1.0
418
  plot.handles['yaxis'].axis_line_alpha = 1.0
419
 
420
-
421
  '''
422
  def legend_hook(plot, element):
423
  p = plot.state
@@ -449,7 +449,7 @@ def create_overlay_plots(df):
449
  overlay = hv.Overlay(curves).opts(
450
  opts.Overlay(bgcolor='white',
451
  #padding=-0.1,
452
- show_legend=False,
453
  #legend_position='top_left',
454
  #ylim=(0, max_y + 0.18*max_y),
455
  width=1700,
 
417
  plot.handles['xaxis'].axis_line_alpha = 1.0
418
  plot.handles['yaxis'].axis_line_alpha = 1.0
419
 
420
+
421
  '''
422
  def legend_hook(plot, element):
423
  p = plot.state
 
449
  overlay = hv.Overlay(curves).opts(
450
  opts.Overlay(bgcolor='white',
451
  #padding=-0.1,
452
+ show_legend=True,
453
  #legend_position='top_left',
454
  #ylim=(0, max_y + 0.18*max_y),
455
  width=1700,