cm = np.array([[1102, 88],[85, 725]]) import seaborn as sns import matplotlib.pyplot as plt sns.heatmap(cm, annot=True,fmt="d",cmap='Blues')