@classmethod
def plot_histogram(cls, x, y, *, nsamples=50000, names=None, **kwargs):
    """
        Plot the posterior distribution as histogram.

        Args:
            x (np.array): a vector of scores for the first model
            y (np.array): a vector of scores for the second model
            nsamples (int): the number of samples (default: 50000)
            names (tuple of str): names of classifiers

        Returns:
            matplotlib figure
        """
    return cls(x, y, rope=0, nsamples=nsamples, **kwargs).plot_histogram(names)
