nesticot commited on
Commit
7b3ba2f
·
1 Parent(s): e9bd963

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -575,7 +575,7 @@ def server(input, output, session):
575
 
576
  if df_combined_t.values[[10],[1]] < 0:
577
  if df_combined_t.values[[10],[0]] < 0:
578
- if df_combined_t.values[[10],[1]] < 0
579
  cmap_flip = matplotlib.colors.LinearSegmentedColormap.from_list("", ["#FBBC04","white","#4285F4"])
580
  norm = Normalize(vmin=-1.2, vmax=-0.8)
581
  colour_df[[10],[0]] = tuple(cmap_flip(norm(df_combined_t.values[[10],[0]] / df_combined_t.values[[10],[1]])))
@@ -590,7 +590,7 @@ def server(input, output, session):
590
 
591
  if df_combined_t.values[[10],[2]] < 0:
592
  if df_combined_t.values[[10],[1]] < 0:
593
- if df_combined_t.values[[10],[1]] < 0
594
  cmap_flip = matplotlib.colors.LinearSegmentedColormap.from_list("", ["#FBBC04","white","#4285F4"])
595
  norm = Normalize(vmin=-1.2, vmax=-0.8)
596
  colour_df[[10],[0]] = tuple(cmap_flip(norm(df_combined_t.values[[10],[1]] / df_combined_t.values[[10],[2]])))
 
575
 
576
  if df_combined_t.values[[10],[1]] < 0:
577
  if df_combined_t.values[[10],[0]] < 0:
578
+ if df_combined_t.values[[10],[1]] < 0:
579
  cmap_flip = matplotlib.colors.LinearSegmentedColormap.from_list("", ["#FBBC04","white","#4285F4"])
580
  norm = Normalize(vmin=-1.2, vmax=-0.8)
581
  colour_df[[10],[0]] = tuple(cmap_flip(norm(df_combined_t.values[[10],[0]] / df_combined_t.values[[10],[1]])))
 
590
 
591
  if df_combined_t.values[[10],[2]] < 0:
592
  if df_combined_t.values[[10],[1]] < 0:
593
+ if df_combined_t.values[[10],[1]] < 0:
594
  cmap_flip = matplotlib.colors.LinearSegmentedColormap.from_list("", ["#FBBC04","white","#4285F4"])
595
  norm = Normalize(vmin=-1.2, vmax=-0.8)
596
  colour_df[[10],[0]] = tuple(cmap_flip(norm(df_combined_t.values[[10],[1]] / df_combined_t.values[[10],[2]])))