import seaborn as sns import matplotlib.pyplot as plt plt.figure(figsize = (10,7)) sns.heatmap(df_cm, annot=True)