Hello,
I am using r5186 from the SVN with numpy 1.1.0.dev5077. When I try
hist(rand(512),arange(-128,127))
I get:
---------------------------------------------------------------------------
<type 'exceptions.TypeError'>             Traceback (most recent call last)

/home/gej/casper_work/backend/qtSpec/src/<ipython console> in <module>()

/usr/lib/python2.5/site-packages/matplotlib/pyplot.py in hist(*args, **kwargs)
   1688         hold(h)
   1689     try:
-> 1690         ret =  gca().hist(*args, **kwargs)
   1691         draw_if_interactive()
   1692     except:

/usr/lib/python2.5/site-packages/matplotlib/axes.py in hist(self, x,
bins, normed, cumulative, bottom, histtype, align, orientation, width,
log, **kwargs)
   5472         if not self._hold: self.cla()
   5473         n, bins = np.histogram(x, bins, range=None,
-> 5474             normed=bool(normed), new=True)
   5475
   5476         if cumulative:

<type 'exceptions.TypeError'>: histogram() got an unexpected keyword
argument 'new'

I guess the new keyword argument has been deprecated?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to