Confusion matrix doesn't display properly
Please check how many classes y_test has.

if Y is array-

np.unique(y_test)


If y is DataFrame column,

y_test.unique()


Looks like y_test has only 2 classes.

As far as I know HR-Employee-Attrition.csv dataset has only 2 classes.