Re: [Matplotlib-users] Weighted histograms

2009-07-11 Thread John Hunter
On Mon, Jul 6, 2009 at 5:45 PM, Michael Cohen wrote: > Hi all, > I am trying to produce a weighted histogram. > The help text for "hist" here: > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.hist > has a mention of adding weights, but it is not noted in the command line >

[Matplotlib-users] Weighted histograms

2009-07-06 Thread Michael Cohen
Hi all, I am trying to produce a weighted histogram. The help text for "hist" here: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.hist has a mention of adding weights, but it is not noted in the command line section where this should appear. Calling: hist(data,20,data_we