James McCool commited on
Commit
65b3735
·
1 Parent(s): 6313632

Refactor player data display in app.py by removing background gradient for improved clarity. This change simplifies the presentation of player statistics while maintaining precision formatting, enhancing the overall user experience in analyzing performance metrics.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -360,6 +360,6 @@ if st.button("Run"):
360
  player_data = sim_df[sim_df['Player'] == player]
361
  st.dataframe(
362
  player_data[['Stat', '10%', '25%', '50%', '75%', '90%']]
363
- .style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2),
364
  use_container_width=True
365
  )
 
360
  player_data = sim_df[sim_df['Player'] == player]
361
  st.dataframe(
362
  player_data[['Stat', '10%', '25%', '50%', '75%', '90%']]
363
+ .style.format(precision=2),
364
  use_container_width=True
365
  )