James McCool commited on
Commit
6bba819
·
1 Parent(s): 2fce936

fixed color map

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ with tab2:
211
  disp_market = disp_market[['Name', 'Position','FANDUEL', 'DRAFTKINGS', 'MGM', 'BET365']]
212
  disp_market = disp_market.drop_duplicates(subset=['Name'], keep='first', ignore_index=True)
213
 
214
- st.dataframe(disp_market.style.background_gradient(axis=1, subset=['FANDUEL', 'DRAFTKINGS', 'MGM', 'BET365']).format(prop_format, precision=2), height = 1000, use_container_width = True)
215
  st.download_button(
216
  label="Export Market Props",
217
  data=convert_df_to_csv(disp_market),
 
211
  disp_market = disp_market[['Name', 'Position','FANDUEL', 'DRAFTKINGS', 'MGM', 'BET365']]
212
  disp_market = disp_market.drop_duplicates(subset=['Name'], keep='first', ignore_index=True)
213
 
214
+ st.dataframe(disp_market.style.background_gradient(axis=1, subset=['FANDUEL', 'DRAFTKINGS', 'MGM', 'BET365'], cmap='RdYlGn').format(prop_format, precision=2), height = 1000, use_container_width = True)
215
  st.download_button(
216
  label="Export Market Props",
217
  data=convert_df_to_csv(disp_market),