赞
踩
normed=True
on non-uniform bins has always been broken, and computes neither the probability density function nor the probability mass function. The result is only correct if the bins are uniform, when density=True will produce the same result anyway. The argument will be removed in a future version of numpy.解决翻译过来就是
VisibleDepractionWarning:在非均匀箱子上传递“normed=True”总是被破坏的,并且既不计算概率密度函数,也不计算概率质量函数。只有当箱子均匀时,结果才正确,当密度=真时,无论如何都会产生相同的结果。该参数将在未来版本的numpy中删除。
源代码如下
imhist_r
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。