Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def plot_confusion_matrix_beamPred(cm, classes, title, save_path, theme='Dark'):
|
|
| 87 |
plt.figure(figsize=(10, 10))
|
| 88 |
|
| 89 |
# Plot the confusion matrix with a colormap compatible for the mode
|
| 90 |
-
sns.heatmap(cm, cmap=cmap, cbar=True)
|
| 91 |
|
| 92 |
cbar = ax.collections[0].colorbar
|
| 93 |
cbar.ax.yaxis.set_tick_params(color=text_color)
|
|
|
|
| 87 |
plt.figure(figsize=(10, 10))
|
| 88 |
|
| 89 |
# Plot the confusion matrix with a colormap compatible for the mode
|
| 90 |
+
ax = sns.heatmap(cm, cmap=cmap, cbar=True)
|
| 91 |
|
| 92 |
cbar = ax.collections[0].colorbar
|
| 93 |
cbar.ax.yaxis.set_tick_params(color=text_color)
|