Sadjad Alikhani commited on
Commit
5bec428
·
verified ·
1 Parent(s): 0034c8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def plot_confusion_matrix_beamPred(cm, classes, title, save_path):
71
  plt.figure(figsize=(5, 5))
72
 
73
  # Plot the confusion matrix with a dark-mode compatible colormap
74
- sns.heatmap(cm, annot=True, fmt=".2f", cmap="magma", cbar=False, annot_kws={"size": 12}, linewidths=0.5, linecolor='white')
75
 
76
  # Add F1-score to the title
77
  plt.title(f"{title}\n(F1 Score: {avg_f1:.3f})", color="white", fontsize=14)
 
71
  plt.figure(figsize=(5, 5))
72
 
73
  # Plot the confusion matrix with a dark-mode compatible colormap
74
+ sns.heatmap(cm, cmap="magma", cbar=False, linecolor='white')
75
 
76
  # Add F1-score to the title
77
  plt.title(f"{title}\n(F1 Score: {avg_f1:.3f})", color="white", fontsize=14)