Update app.py
Browse files
app.py
CHANGED
|
@@ -154,7 +154,7 @@ def label_visualization(clause2labels):
|
|
| 154 |
axs[0].set_title("Aspect")
|
| 155 |
axs[1].pie([float(v / total_clauses) for v in genericity_dict.values()], colors = sns.color_palette('pastel')[3:6], labels=genericity_dict.keys(), autopct='%.0f%%', normalize=True)
|
| 156 |
axs[1].set_title("Genericity")
|
| 157 |
-
axs[2].pie([float(v / total_clauses) for v in boundedness_dict.values()], colors = sns.color_palette('pastel')[
|
| 158 |
axs[2].set_title("Boundedness")
|
| 159 |
return fig
|
| 160 |
|
|
|
|
| 154 |
axs[0].set_title("Aspect")
|
| 155 |
axs[1].pie([float(v / total_clauses) for v in genericity_dict.values()], colors = sns.color_palette('pastel')[3:6], labels=genericity_dict.keys(), autopct='%.0f%%', normalize=True)
|
| 156 |
axs[1].set_title("Genericity")
|
| 157 |
+
axs[2].pie([float(v / total_clauses) for v in boundedness_dict.values()], colors = sns.color_palette('pastel')[6:10], labels=boundedness_dict.keys(), autopct='%.0f%%', normalize=True)
|
| 158 |
axs[2].set_title("Boundedness")
|
| 159 |
return fig
|
| 160 |
|