nesticot commited on
Commit
f835b8c
·
verified ·
1 Parent(s): 138c7c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -374,7 +374,7 @@ def server(input,output,session):
374
  ax.set_xlabel('Pitch')
375
  ax.set_ylabel('Expected Run Value Added per 100 Pitches (xRV/100)')
376
 
377
- axheader.text(s=f'{player_select_full} - {win} Pitch Rolling Swing Decision Expected Run Value Added\n{input.level_list()}-{year_input}',x=0.5,y=-0.5,ha='center',va='bottom',fontsize=14)
378
  axfooter1.text(.05, 0.2, "By: Thomas Nestico",ha='left', va='bottom',fontsize=12)
379
  axfooter1.text(0.95, 0.2, "Data: MLB",ha='right', va='bottom',fontsize=12)
380
 
@@ -469,7 +469,7 @@ def server(input,output,session):
469
  ax.set_xlabel('Takes')
470
  ax.set_ylabel('Expected Run Value Added per 100 Pitches (xRV/100)')
471
 
472
- axheader.text(s=f'{player_select_full} - {win} Pitch Rolling In-Zone Awareness Expected Run Value Added\n{input.level_list()}-{year_input}',x=0.5,y=-0.5,ha='center',va='bottom',fontsize=14)
473
  axfooter1.text(.05, 0.2, "By: Thomas Nestico",ha='left', va='bottom',fontsize=12)
474
  axfooter1.text(0.95, 0.2, "Data: MLB",ha='right', va='bottom',fontsize=12)
475
 
@@ -562,7 +562,7 @@ def server(input,output,session):
562
  ax.set_xlabel('Swing')
563
  ax.set_ylabel('Expected Run Value Added per 100 Pitches (xRV/100)')
564
 
565
- axheader.text(s=f'{player_select_full} - {win} Pitch Rolling Out of Zone Awareness Expected Run Value Added\n{input.level_list()}-{year_input}',x=0.5,y=-0.5,ha='center',va='bottom',fontsize=14)
566
  axfooter1.text(.05, 0.2, "By: Thomas Nestico",ha='left', va='bottom',fontsize=12)
567
  axfooter1.text(0.95, 0.2, "Data: MLB",ha='right', va='bottom',fontsize=12)
568
 
 
374
  ax.set_xlabel('Pitch')
375
  ax.set_ylabel('Expected Run Value Added per 100 Pitches (xRV/100)')
376
 
377
+ axheader.text(s=f'{player_select_full} - {win} Pitch Rolling Swing Decision Expected Run Value Added\n{input.level_list()} - {year_input}',x=0.5,y=-0.8,ha='center',va='bottom',fontsize=14)
378
  axfooter1.text(.05, 0.2, "By: Thomas Nestico",ha='left', va='bottom',fontsize=12)
379
  axfooter1.text(0.95, 0.2, "Data: MLB",ha='right', va='bottom',fontsize=12)
380
 
 
469
  ax.set_xlabel('Takes')
470
  ax.set_ylabel('Expected Run Value Added per 100 Pitches (xRV/100)')
471
 
472
+ axheader.text(s=f'{player_select_full} - {win} Pitch Rolling In-Zone Awareness Expected Run Value Added\n{input.level_list()} - {year_input}',x=0.5,y=-0.8,ha='center',va='bottom',fontsize=14)
473
  axfooter1.text(.05, 0.2, "By: Thomas Nestico",ha='left', va='bottom',fontsize=12)
474
  axfooter1.text(0.95, 0.2, "Data: MLB",ha='right', va='bottom',fontsize=12)
475
 
 
562
  ax.set_xlabel('Swing')
563
  ax.set_ylabel('Expected Run Value Added per 100 Pitches (xRV/100)')
564
 
565
+ axheader.text(s=f'{player_select_full} - {win} Pitch Rolling Out of Zone Awareness Expected Run Value Added\n{input.level_list()} - {year_input}',x=0.5,y=-0.8,ha='center',va='bottom',fontsize=14)
566
  axfooter1.text(.05, 0.2, "By: Thomas Nestico",ha='left', va='bottom',fontsize=12)
567
  axfooter1.text(0.95, 0.2, "Data: MLB",ha='right', va='bottom',fontsize=12)
568