def METHOD_NAME(self, inputs, model_name_or_path):
    """Test the plot method of CLIPScore seperately in this file due to the skipping conditions."""
    metric = CLIPScore(model_name_or_path=model_name_or_path)
    preds, target = inputs
    metric.update(preds[0], target[0])
    fig, ax = metric.plot()
    assert isinstance(fig, plt.Figure)
    assert isinstance(ax, matplotlib.axes.Axes)