From: John H. <jd...@gm...> - 2008-12-07 20:25:23
|
I think the version check is a good idea, so people won't get the annoying warning. Could you add this? Sent from my iPhone On Dec 7, 2008, at 2:22 PM, "Jae-Joon Lee" <lee...@gm...> wrote: > I'm currently using numpy 1.1.1 and np.histogram behave differently > depending on the "new" value. > ubuntu interpid and debian sid has numpy 1.1.1.1 and I presume that > this different behavior is still there. > So, as far as we're going to support numpy 1.1 and later, we may > better not to drop the "new" silently. > We may check the version number of the numpy in the hist() function, > and call np.histogram() accordingly. > > -JJ > > > On Sat, Dec 6, 2008 at 4:33 PM, John Hunter <jd...@gm...> wrote: >> Axes.hist calls np.histogram with the "new" kwarg, which triggers a >> deprecation warning with svn numpy. Anyone have an opinion on >> whether >> this kwarg should be included in the upcoming mpl release? >> >> JDH >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >> Nevada. >> The future of the web can't happen without you. Join us at MIX09 >> to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Matplotlib-devel mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> |