(self, data)
Adds a single number or the elements of an iterable to the histogram.

        @param data: the data to be added
Adds a single number or the elements of an iterable to the histogram.
Adds a single number or the elements of an iterable to the histogram .
def add_many(self, data):
        """Adds a single number or the elements of an iterable to the histogram.

        @param data: the data to be added"""
        try:
            iterator = iter(data)
        except TypeError:
            iterator = iter([data])
        for x in iterator:
            self.add(x)
def add_many ( self , data ) : try : iterator = iter ( data ) except TypeError : iterator = iter ( [ data ] ) for x in iterator : self . add ( x )