nesticot commited on
Commit
4cd68d5
·
verified ·
1 Parent(s): 4114204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -35,11 +35,10 @@ year_list = [2025]
35
 
36
 
37
  type_dict = {
38
- 'S':'Spring',
39
- 'E':'Exhibition'}
40
 
41
- level_dict = {'1':'MLB',
42
- '21':'Prospects',}
43
 
44
  function_dict={
45
  'velocity_kdes':'Velocity Distributions',
@@ -154,7 +153,7 @@ app_ui = ui.page_fluid(
154
  ui.panel_sidebar(
155
  # Row for selecting season and level
156
  ui.row(
157
- ui.markdown("## Spring Training Pitch Plots"),
158
  ui.markdown("This app generates a movement plot for a pitcher's pitches in Spring Training games. You can highlight and update pitch types by selecting points on the plot."),
159
  ui.column(4,ui.div(
160
  "By: ",
 
35
 
36
 
37
  type_dict = {
38
+ 'R':'Regular',
39
+ }
40
 
41
+ level_dict = {'1':'MLB',}
 
42
 
43
  function_dict={
44
  'velocity_kdes':'Velocity Distributions',
 
153
  ui.panel_sidebar(
154
  # Row for selecting season and level
155
  ui.row(
156
+ ui.markdown("## 2025 MLB Pitch Plots"),
157
  ui.markdown("This app generates a movement plot for a pitcher's pitches in Spring Training games. You can highlight and update pitch types by selecting points on the plot."),
158
  ui.column(4,ui.div(
159
  "By: ",