- Problem: Start script rejected Python 3.13 as invalid
- Solution: Fixed version comparison logic in
start.sh - Status: β Working - Python 3.9+ now correctly detected
- Problem: "No players matching criteria" for all searches
- Solution: Enhanced initialization and session state management
- Status: β Working - Search now finds players like "Judge", "Trout", "Acuna"
- Problem:
ValueError: Invalid property 'titleside' for ColorBar - Solution: Removed invalid
titlesideparameter from colorbar configuration - Status: β Working - Charts now render without errors
The Statcast Spray Chart Pro application is now working perfectly with all major issues resolved.
The app comes with 3 sample players for immediate testing:
- Aaron Judge (NYY) - 2016-2024
- Mike Trout (LAA) - 2011-2024
- Ronald AcuΓ±a Jr. (ATL) - 2018-2024
β These searches will work:
- "Aaron Judge" β Finds Aaron Judge
- "Judge" β Finds Aaron Judge
- "Trout" β Finds Mike Trout
- "Acuna" β Finds Ronald AcuΓ±a Jr.
- "Juge" β Fuzzy match finds Aaron Judge
- Start the app:
./start.sh - Search for a player: Use the sidebar search box
- Set date range: Choose from presets or custom dates
- Apply filters: Adjust exit velocity, launch angle, etc.
- Select stadiums: Choose ballparks for comparison
- View results: Interactive spray chart with stadium overlays
To get live Statcast data for any MLB player:
- The app will automatically fetch data via pybaseball
- First-time searches may take 10-30 seconds to load
- Data is cached for faster subsequent access
- Internet connection required for new player data
cd /Users/jacobg/Desktop/Projects/mlb-data-graphs
./start.shThen open your browser to: http://localhost:8501
The application is now ready for full baseball analytics exploration! π―βΎ