nesticot commited on
Commit
aa6af00
·
verified ·
1 Parent(s): 5c3a4cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -3,8 +3,8 @@ import api_scraper
3
  import pandas as pd
4
  scrape = api_scraper.MLB_Scrape()
5
 
6
- # import df_update
7
- # update = df_update.df_update()
8
  from matplotlib.colors import LinearSegmentedColormap, Normalize
9
  import numpy as np
10
  import requests
@@ -175,7 +175,10 @@ app_ui = ui.page_fluid(
175
  ui.markdown("""<a href='https://x.com/TJStats'>Follow me on Twitter</a><sup>1</sup>"""),
176
  ui.markdown("""<a href='https://www.patreon.com/tj_stats'>Support me on Patreon for Access to 2024 Apps</a><sup>1</sup>"""),
177
 
178
- ui.tags.h5("Statcast Batting Summaries"),
 
 
 
179
  ui.layout_sidebar(
180
  ui.panel_sidebar(
181
  # Row for selecting season and level
 
3
  import pandas as pd
4
  scrape = api_scraper.MLB_Scrape()
5
 
6
+ import df_update
7
+ update = df_update.df_update()
8
  from matplotlib.colors import LinearSegmentedColormap, Normalize
9
  import numpy as np
10
  import requests
 
175
  ui.markdown("""<a href='https://x.com/TJStats'>Follow me on Twitter</a><sup>1</sup>"""),
176
  ui.markdown("""<a href='https://www.patreon.com/tj_stats'>Support me on Patreon for Access to 2024 Apps</a><sup>1</sup>"""),
177
 
178
+ ui.markdown("### Statcast Batting Summaries"),
179
+ ui.markdown("""This Shiny App allows you to generate Baseball Savant-style percentile bars for MiLB players in the 2024 Season.
180
+ Currently, MiLB Statcast is only available for AAA and and A (Florida State League) levels."""),
181
+
182
  ui.layout_sidebar(
183
  ui.panel_sidebar(
184
  # Row for selecting season and level