Spaces:
Running
Running
Update app.py
Browse files
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
|
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 |
|