nesticot commited on
Commit
8277793
·
verified ·
1 Parent(s): 645c385

Update functions/PitchPlotFunctions.py

Browse files
Files changed (1) hide show
  1. functions/PitchPlotFunctions.py +2 -2
functions/PitchPlotFunctions.py CHANGED
@@ -224,11 +224,11 @@ class PitchPlotFunctions:
224
 
225
  # Set header text
226
  if game_type[0] in ['S','P']:
227
- ax.text(0.5, 0.4, f'{start_date} to {end_date} ({type_dict[game_type[0]]}){batter_hand_text}', va='bottom', ha='center',
228
  fontsize=12, fontstyle='italic')
229
 
230
  else:
231
- ax.text(0.5, 0.4, f'{start_date} to {end_date}{batter_hand_text}', va='bottom', ha='center',
232
  fontsize=12, fontstyle='italic')
233
  # ax.text(0.5, 0.40, f'{start_date} to {end_date}{batter_hand_text}', va='top', ha='center', fontsize=12, fontstyle='italic')
234
  # Turn off the axis
 
224
 
225
  # Set header text
226
  if game_type[0] in ['S','P']:
227
+ ax.text(0.5, 0.4, f'{start_date} to {end_date} ({type_dict[game_type[0]]}){batter_hand_text}',va='top', ha='center',
228
  fontsize=12, fontstyle='italic')
229
 
230
  else:
231
+ ax.text(0.5, 0.4, f'{start_date} to {end_date}{batter_hand_text}',va='top', ha='center',
232
  fontsize=12, fontstyle='italic')
233
  # ax.text(0.5, 0.40, f'{start_date} to {end_date}{batter_hand_text}', va='top', ha='center', fontsize=12, fontstyle='italic')
234
  # Turn off the axis