from torch import randint
from torchmetrics.classification import MulticlassExactMatch
metric = MulticlassExactMatch(num_classes=3)
metric.update(randint(3, (20,5)), randint(3, (20,5)))
fig_, ax_ = metric.plot()
