Spaces:
Runtime error
Runtime error
fix xlim
Browse files
app.py
CHANGED
@@ -51,6 +51,7 @@ def bar_plot(df):
|
|
51 |
fig = plt.figure(figsize=(8, 6))
|
52 |
plt.title("Prediction Scores")
|
53 |
plt.xticks(fontsize=12)
|
|
|
54 |
sns.barplot(x="Score", y="Emotion", data=df)
|
55 |
st.pyplot(fig)
|
56 |
|
|
|
51 |
fig = plt.figure(figsize=(8, 6))
|
52 |
plt.title("Prediction Scores")
|
53 |
plt.xticks(fontsize=12)
|
54 |
+
plt.xlim(0,100)
|
55 |
sns.barplot(x="Score", y="Emotion", data=df)
|
56 |
st.pyplot(fig)
|
57 |
|