Bug fix in bar plot
Browse files
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
|
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 |
|