1. 程式人生 > >The 'normed' kwarg is deprecated, and has been replaced by the 'density' kwarg.

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  即可解決問題