@classmethod
def from_entries(cls, list_of_intervals, entries):
    """
        create a histogram from a list of intervals and entries to bin

        :param list_of_intervals:
        :param entries:
        :return:
        """
    new_hist = cls(list_of_intervals=list_of_intervals, is_poisson=True)
    new_hist.bin_entries(entires=entries)
    return new_hist
