Spaces:
Sleeping
Sleeping
kovacsvi
commited on
Commit
·
3ed00cb
1
Parent(s):
c64e0a4
title for barplot
Browse files
app.py
CHANGED
|
@@ -189,7 +189,7 @@ def plot_average_emotion_barplot(heatmap_data):
|
|
| 189 |
for i, score in enumerate(scores):
|
| 190 |
ax.text(score + 0.01, i, f"{score*100:.1f}%", va="center")
|
| 191 |
|
| 192 |
-
ax.set_title("
|
| 193 |
ax.set_xlabel("Average Confidence")
|
| 194 |
ax.set_ylabel("Emotions")
|
| 195 |
plt.tight_layout()
|
|
|
|
| 189 |
for i, score in enumerate(scores):
|
| 190 |
ax.text(score + 0.01, i, f"{score*100:.1f}%", va="center")
|
| 191 |
|
| 192 |
+
ax.set_title("Which emotions showed up most in the text?", fontsize=14)
|
| 193 |
ax.set_xlabel("Average Confidence")
|
| 194 |
ax.set_ylabel("Emotions")
|
| 195 |
plt.tight_layout()
|