nesticot commited on
Commit
dc4fc1b
·
verified ·
1 Parent(s): 50c810c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1657,7 +1657,7 @@ def server(input, output, session):
1657
 
1658
  pitcher_to_select = top_d_score['pitcher_id'].values[0]
1659
 
1660
- top_d_score = top_d_score[['rank','pitcher','abbreviation','abbreviation_batter','pitches','whiffs','whiff_rate','csw','csw_rate','k_bb_percent','summary']].head(30)
1661
  top_d_score.columns = ['Rank','Pitcher','Team','Opp.','Pitches','Whiffs','SwStr%','CSW','CSW%','K-BB%','Summary']
1662
 
1663
  cols = top_d_score.columns.tolist();
@@ -1676,7 +1676,7 @@ def server(input, output, session):
1676
  ('text-align', 'centre'),
1677
  ]
1678
 
1679
- },{'selector' :'th', 'props':[('text-align', 'center'),('Height','6px'),('border', '0.4px black solid !important'),('font-size', '16px')]},{'selector' :'td', 'props':[('text-align', 'center'),('font-size', '8px')]}],overwrite=False).set_table_styles(
1680
  [{'selector': 'tr', 'props': [('line-height', '0.4px')]}],overwrite=False).set_properties(
1681
  **{'Height': '16px'},**{'text-align': 'center'},overwrite=False).hide_index()
1682
 
 
1657
 
1658
  pitcher_to_select = top_d_score['pitcher_id'].values[0]
1659
 
1660
+ top_d_score = top_d_score[['rank','pitcher','abbreviation','abbreviation_batter','pitches','whiffs','whiff_rate','csw','csw_rate','k_bb_percent','summary']]#.head(30)
1661
  top_d_score.columns = ['Rank','Pitcher','Team','Opp.','Pitches','Whiffs','SwStr%','CSW','CSW%','K-BB%','Summary']
1662
 
1663
  cols = top_d_score.columns.tolist();
 
1676
  ('text-align', 'centre'),
1677
  ]
1678
 
1679
+ },{'selector' :'th', 'props':[('text-align', 'center'),('Height','16px'),('border', '0.4px black solid !important'),('font-size', '16px')]},{'selector' :'td', 'props':[('text-align', 'center'),('font-size', '16px')]}],overwrite=False).set_table_styles(
1680
  [{'selector': 'tr', 'props': [('line-height', '0.4px')]}],overwrite=False).set_properties(
1681
  **{'Height': '16px'},**{'text-align': 'center'},overwrite=False).hide_index()
1682