nesticot commited on
Commit
cd89137
·
1 Parent(s): c19fadc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -587,7 +587,7 @@ def server(input, output, session):
587
  col_1_colour = [colormap(norm(x)) for x in list(((df_combined_t[df_combined_t.columns[0]].values) / (df_combined_t[df_combined_t.columns[1]].values)))]
588
  colour_df = pd.DataFrame(data=[col_1_colour,col_2_colour,col_3_colour]).T.values
589
 
590
- if colour_df[[0],[2]] == 0:
591
  for i in range(len(colour_df)):
592
  colour_df[[i][1]] = 'white'
593
 
 
587
  col_1_colour = [colormap(norm(x)) for x in list(((df_combined_t[df_combined_t.columns[0]].values) / (df_combined_t[df_combined_t.columns[1]].values)))]
588
  colour_df = pd.DataFrame(data=[col_1_colour,col_2_colour,col_3_colour]).T.values
589
 
590
+ if df_combined_t[df_combined_t.columns[2]].values[0] == 0:
591
  for i in range(len(colour_df)):
592
  colour_df[[i][1]] = 'white'
593