I Have a CM and want the text to be bold. So all the numbers and the labels as well. Heres the code:
array = np.array([[1003, 32], [30, 51]])
labels = np.array(["Label 1", "Label 2"])
disp = ConfusionMatrixDisplay(confusion_matrix=array, display_labels=labels)
disp = disp.plot(include_values=True, cmap="Reds", ax=None, xticks_rotation="horizontal")
plt.show()
Is there any easy way to change it to a bold style?