James McCool commited on
Commit
7c0677b
·
1 Parent(s): 8f07a93

Remove title "Scoring Percentages" from app.py to streamline the user interface and improve layout consistency.

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -196,7 +196,6 @@ with tab1:
196
  with st.container():
197
  slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate', 'All Games'), key='slate_var1')
198
  own_var1 = st.radio("How would you like to display team ownership?", ('Sum', 'Average'), key='own_var1')
199
- st.title("Scoring Percentages")
200
  if view_var == "Simple":
201
  scoring_percentages = scoring_percentages[['Names', 'Avg Score', '8+ runs', 'Win Percentage']]
202
  st.dataframe(scoring_percentages.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(game_format, precision=2), height=750, use_container_width = True, hide_index=True)
 
196
  with st.container():
197
  slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate', 'All Games'), key='slate_var1')
198
  own_var1 = st.radio("How would you like to display team ownership?", ('Sum', 'Average'), key='own_var1')
 
199
  if view_var == "Simple":
200
  scoring_percentages = scoring_percentages[['Names', 'Avg Score', '8+ runs', 'Win Percentage']]
201
  st.dataframe(scoring_percentages.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(game_format, precision=2), height=750, use_container_width = True, hide_index=True)