The 'normed' kwarg is deprecated, and has been replaced by the 'density' kwarg.

在使用直方图时,出现警告

UserWarning: The 'normed' kwarg is deprecated, and has been replaced by the 'density' kwarg.
  warnings.warn("The 'normed' kwarg is deprecated, and has been "

意思就是把:normed 换成 density  即可解决问题

猜你喜欢

转载自blog.csdn.net/bc521bc/article/details/82526027