nesticot commited on
Commit
4776834
·
verified ·
1 Parent(s): 5fb5685

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -263,7 +263,8 @@ def server(input, output, session):
263
 
264
  if df is None:
265
  fig = plt.figure(figsize=(26,26))
266
- fig.text(x=0.5,y=0.5,s='No Statcast Data For This Pitcher',fontsize=36)
 
267
 
268
  df = df.clone()
269
 
 
263
 
264
  if df is None:
265
  fig = plt.figure(figsize=(26,26))
266
+ fig.text(x=0.5,y=0.5,s='No Statcast Data For This Pitcher',fontsize=36,ha='center')
267
+ return fig
268
 
269
  df = df.clone()
270