hist without plotting

Peter Otten __peter__ at web.de
Mon Feb 16 02:56:14 EST 2009

Nick Matzke wrote:

> Is there a way to run the numpy hist function or something similar and
> get the outputs (bins, bar heights) without actually producing the plot
> on the screen?
> (R has a plot = false option, something like this is what I'm looking
> for...)

First hit googling for numpy hist led me to


So pylab.hist() plots and numpy.histogram() just calculates.


More information about the Python-list mailing list