robertou2 commited on
Commit
e88ae9c
1 Parent(s): 67989fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def highlight_survived(s):
59
  return ['background-color: red']*len(s) if (s.Sexista == 1) else ['background-color: green']*len(s)
60
 
61
  def color_survived(val):
62
- color = 'red' if val=='Sexista' else 'green'
63
  return f'background-color: {color}'
64
 
65
  st.set_page_config(layout="wide")
 
59
  return ['background-color: red']*len(s) if (s.Sexista == 1) else ['background-color: green']*len(s)
60
 
61
  def color_survived(val):
62
+ color = 'purpple' if val=='Sexista' else 'white'
63
  return f'background-color: {color}'
64
 
65
  st.set_page_config(layout="wide")