Update app.py
Browse files
app.py
CHANGED
@@ -745,6 +745,8 @@ def server(input, output, session):
|
|
745 |
|
746 |
|
747 |
axheader.text(x=0.5,y=1.2,s=f"{df_plot['pitcher_name'].values[0]} - {df_plot['pitcher_hand'].values[0]}HP\n{season} {df_plot['pitch_description'].values[0]} Pitch Frequency",ha='center',fontsize=24,va='top')
|
|
|
|
|
748 |
axheader.axis('off')
|
749 |
|
750 |
|
|
|
745 |
|
746 |
|
747 |
axheader.text(x=0.5,y=1.2,s=f"{df_plot['pitcher_name'].values[0]} - {df_plot['pitcher_hand'].values[0]}HP\n{season} {df_plot['pitch_description'].values[0]} Pitch Frequency",ha='center',fontsize=24,va='top')
|
748 |
+
axheader.text(x=0.5,y=0.2,s=f"{input.date_range_id()[0]} to {input.date_range_id()[1]}",ha='center',fontsize=16,va='top')
|
749 |
+
|
750 |
axheader.axis('off')
|
751 |
|
752 |
|