Unable to plot confusion matrix

see if this works which I used in Visual GUI but for v1.

interp = ClassificationInterpretation.from_learner(learn)

upp, low = interp.confusion_matrix()
tn, fp = upp[0], upp[1]
fn, tp = low[0], low[1]
print(tn, fp, fn, tp)