alling `metric.forward` or `metric.compute` or a list of these results. If no value is provided, will automatically call `metric.compute` and plot that result. ax: An matplotlib axis object. If provided will add plot to that axis Returns: Figure and Axes object Raises: ModuleNotFoundError: If `matplotlib` is not installed .. plot:: :scale: 75 >>> # Example plotting a single value >>> from torch import rand, randint >>> from torchmetrics.classification import MultilabelExactMatch >>> metric = MultilabelExactMatch(num_labels=3) >>> metric.update(randint(2, (20, 3, 5)), randint(2, (20, 3, 5))) >>> fig_, ax_ = metric.plot() .. plot:: :scale: 75 >>> # Example plotting multiple values >>> from torch import rand, randint >>> from torchmetrics.classification import MultilabelExactMatch >>> metric = MultilabelExactMatch(num_labels=3) >>> values = [ ] >>> for _ in range(10): ... values.append(metric(randint(2, (20, 3, 5)), randint(2, (20, 3, 5)))) >>> fig_, ax_ = metric.plot(values) rQ