def cumfreq(a, numbins=10, defaultreallimits=None, weights=None):
 (h, l, b, e) = _histogram(a, numbins, defaultreallimits, weights=weights)
 cumhist = np.cumsum((h * 1), axis=0)
 return CumfreqResult(cumhist, l, b, e)

def cumfreq ( a , numbins = 10 , defaultreallimits = None , weights = None ) : ( h , l , b , e ) = _histogram ( a , numbins , defaultreallimits , weights = weights ) cumhist = np . cumsum ( ( h * 1 ) , axis = 0 ) return CumfreqResult ( cumhist , l , b , e )
returns a cumulative frequency histogram .