Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -430,7 +430,7 @@ def server(input,output,session):
|
|
430 |
hard_hit_text = ['90th %','75th %','25th %','10th %']
|
431 |
for i, x in enumerate(hard_hit_dates):
|
432 |
ax.text(min(win+win/1000,win+win+5), x ,hard_hit_text[i], rotation=0,va='center', ha='left',
|
433 |
-
bbox=dict(facecolor='white',alpha=0.7, edgecolor=colour_palette[2+i], pad=2),zorder=
|
434 |
|
435 |
# # Annotate with an arrow
|
436 |
# ax.annotate('June 6, 2023\nSeason Worst Decision Value', xy=(976, df_will.y_pred.rolling(window=win).mean().min()*100-0.03),
|
@@ -524,7 +524,7 @@ def server(input,output,session):
|
|
524 |
hard_hit_text = ['90th %','75th %','25th %','10th %']
|
525 |
for i, x in enumerate(hard_hit_dates):
|
526 |
ax.text(min(win+win/1000,win+win+5), x ,hard_hit_text[i], rotation=0,va='center', ha='left',
|
527 |
-
bbox=dict(facecolor='white',alpha=0.7, edgecolor=colour_palette[2+i], pad=2),zorder=
|
528 |
|
529 |
# # Annotate with an arrow
|
530 |
# ax.annotate('June 6, 2023\nSeason Worst Decision Value', xy=(976, df_will.y_pred.rolling(window=win).mean().min()*100-0.03),
|
|
|
430 |
hard_hit_text = ['90th %','75th %','25th %','10th %']
|
431 |
for i, x in enumerate(hard_hit_dates):
|
432 |
ax.text(min(win+win/1000,win+win+5), x ,hard_hit_text[i], rotation=0,va='center', ha='left',
|
433 |
+
bbox=dict(facecolor='white',alpha=0.7, edgecolor=colour_palette[2+i], pad=2),zorder=111)
|
434 |
|
435 |
# # Annotate with an arrow
|
436 |
# ax.annotate('June 6, 2023\nSeason Worst Decision Value', xy=(976, df_will.y_pred.rolling(window=win).mean().min()*100-0.03),
|
|
|
524 |
hard_hit_text = ['90th %','75th %','25th %','10th %']
|
525 |
for i, x in enumerate(hard_hit_dates):
|
526 |
ax.text(min(win+win/1000,win+win+5), x ,hard_hit_text[i], rotation=0,va='center', ha='left',
|
527 |
+
bbox=dict(facecolor='white',alpha=0.7, edgecolor=colour_palette[2+i], pad=2),zorder=111)
|
528 |
|
529 |
# # Annotate with an arrow
|
530 |
# ax.annotate('June 6, 2023\nSeason Worst Decision Value', xy=(976, df_will.y_pred.rolling(window=win).mean().min()*100-0.03),
|