Wandb.plot.confusion_matrix() just show a Table!


I used this code to create a confusion matrix:

# confusion matrix
        wandb.log({"confusion-matrix-test": wandb.plot.confusion_matrix(
            y_true=all_gt, preds=all_pre,

However, Wanda’s website only shows a table instead of the confusion matrix. This is a screenshot from the issue:

If you click the section called “Custom Charts” above the Table, it’ll show the line plot that you’ve logged.

Logging the Table also is expected behaviour because this will allow users to interactively explore the logged data in a W&B Table after logging it.