Re: [matplotlib-devel] weights in hist()

2008-11-10 Thread David Huard
Note that the weight argument was added to histogram in Numpy 1.1. David 2008/10/29 Olle EngdegÄrd <[EMAIL PROTECTED]> > > Hi, > > I attach a trivial patch to pass a weight argument through hist() to > histogram(). > > Cheers, > Olle >

[matplotlib-devel] weights in hist()

2008-10-29 Thread Olle EngdegÄrd
Hi, I attach a trivial patch to pass a weight argument through hist() to histogram(). Cheers, Olle--- axes.py (revision 6329) +++ axes.py (working copy) @@ -6221,13 +6221,13 @@ def hist(self, x, bins=10, range=None, normed=False, cumulative=False, bottom=None, histtype='b