(self, size=DEFAULT_SIZE, alpha=DEFAULT_ALPHA, clock=time, sample=None)
Creates a new instance of a L{Histogram}.
Creates a new instance of a L{Histogram}.
Creates a new instance of a L { Histogram } .
def __init__(self, size=DEFAULT_SIZE, alpha=DEFAULT_ALPHA, clock=time, sample=None):
        """
        Creates a new instance of a L{Histogram}.
        """
        super(Histogram, self).__init__()
        self.lock = Lock()
        self.clock = clock
        if sample is None:
            sample = ExpDecayingSample(size, alpha, clock)
        self.sample = sample
        self.clear()
def __init__ ( self , size = DEFAULT_SIZE , alpha = DEFAULT_ALPHA , clock = time , sample = None ) : super ( Histogram , self ) . __init__ ( ) self . lock = Lock ( ) self . clock = clock if sample is None : sample = ExpDecayingSample ( size , alpha , clock ) self . sample = sample self . clear ( )