Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- 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=
|
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,
|