tracinginsights commited on
Commit
b67d7dd
1 Parent(s): d6a020c

Update pages/Championship_Standings.py

Browse files
Files changed (1) hide show
  1. pages/Championship_Standings.py +3 -2
pages/Championship_Standings.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from repo_directory import Championship_Standings
3
  from repo_directory import button
4
  import numpy as np
5
-
6
 
7
  # select year
8
  # YEAR = st.selectbox(
@@ -11,5 +11,6 @@ import numpy as np
11
  # )
12
 
13
  df = Championship_Standings.get_results()
 
14
 
15
- Championship_Standings.plot(df)
 
2
  from repo_directory import Championship_Standings
3
  from repo_directory import button
4
  import numpy as np
5
+ import datetime
6
 
7
  # select year
8
  # YEAR = st.selectbox(
 
11
  # )
12
 
13
  df = Championship_Standings.get_results()
14
+ current_year = datetime.datetime.now().year
15
 
16
+ Championship_Standings.plot(df, current_year)