from torch import rand, randint
from torchmetrics.classification import BinaryMatthewsCorrCoef
metric = BinaryMatthewsCorrCoef()
metric.update(rand(10), randint(2,(10,)))
fig_, ax_ = metric.plot()
