I am plotting a confusion matrix using the following code:
import seaborn as sns sns.heatmap(cm, annot=True, center = True, fmt="d"