nesticot commited on
Commit
943be11
·
verified ·
1 Parent(s): 409155f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -891,7 +891,7 @@ def server(input, output, session):
891
  # break_plot(df = df,ax=ax_break_1)
892
  summary_table(df=df,
893
  ax=ax_table_1)
894
- ax_table_1.text(x=0.5,y=0.83,s=f'{df["pitcher_name"][0]} - {year_input} - {level_dict[str(sport_id)]} - {type_dict[input.type_input_1()]}{split_dict_title[input.split_id_1()]}',
895
  fontsize=30, ha='center', va='bottom',fontstyle='italic')
896
  # level_dict
897
  # split_dict
@@ -930,7 +930,7 @@ def server(input, output, session):
930
  # break_plot(df = df_2,ax=ax_break_2)
931
  summary_table(df=df_2,
932
  ax=ax_table_2)
933
- ax_table_2.text(x=0.5,y=0.83,s=f'{df_2["pitcher_name"][0]} - {year_input_2} - {level_dict[str(sport_id_2)]} - {type_dict[input.type_input_2()]}{split_dict_title[input.split_id_2()]}',
934
  fontsize=30, ha='center', va='bottom',fontstyle='italic')
935
 
936
  #########################
 
891
  # break_plot(df = df,ax=ax_break_1)
892
  summary_table(df=df,
893
  ax=ax_table_1)
894
+ ax_table_1.text(x=0.5,y=0.83,s=f'{df["pitcher_name"][0]} - {year_input} - {level_dict[str(sport_id)]} - {type_dict[input.type_input_1()]}{split_dict_title[input.split_id_1()]} - {start_date} to {end_date}',
895
  fontsize=30, ha='center', va='bottom',fontstyle='italic')
896
  # level_dict
897
  # split_dict
 
930
  # break_plot(df = df_2,ax=ax_break_2)
931
  summary_table(df=df_2,
932
  ax=ax_table_2)
933
+ ax_table_2.text(x=0.5,y=0.83,s=f'{df_2["pitcher_name"][0]} - {year_input_2} - {level_dict[str(sport_id_2)]} - {type_dict[input.type_input_2()]}{split_dict_title[input.split_id_2()]} - {start_date_2} to {end_date_2}',
934
  fontsize=30, ha='center', va='bottom',fontstyle='italic')
935
 
936
  #########################