SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] using new in axes.hist

From: Jae-Joon L. <lee...@gm...> - 2008年12月07日 20:55:52
I just committed the change. Although the change is trivial, I didn't
tested it in the numpy 1.2 or the svn version.
-JJ
On Sun, Dec 7, 2008 at 3:24 PM, John Hunter <jd...@gm...> wrote:
> 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
>>>
>

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /