omatically 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 >>> import torch >>> from torchmetrics.wrappers import MetricTracker >>> from torchmetrics.classification import BinaryAccuracy >>> tracker = MetricTracker(BinaryAccuracy()) >>> for epoch in range(5): ... tracker.increment() ... for batch_idx in range(5): ... tracker.update(torch.randint(2, (10,)), torch.randint(2, (10,))) >>> fig_, ax_ = tracker.plot() # plot all epochs N)