gossminn commited on
Commit
aa93f96
1 Parent(s): b6f7b14

Bug fix in bar plot

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def explore_timeline():
96
 
97
  for team in ["Man. United", "Rangers"]:
98
  st.subheader(team)
99
- frame_bar = data.dropna(axis=0, subset=["first_role"])[data["first_role"] == team].value_counts().plot.bar(y=frame_column, backend="plotly")
100
  st.plotly_chart(frame_bar)
101
 
102
 
 
96
 
97
  for team in ["Man. United", "Rangers"]:
98
  st.subheader(team)
99
+ frame_bar = data[data["first_role"] == team][frame_column].value_counts().plot.bar(y=frame_column, backend="plotly")
100
  st.plotly_chart(frame_bar)
101
 
102