成功解决matplotlib\axes\_axes.py:6462: UserWarning: The 'normed' kwarg is deprecated, and has been repla
成功解決matplotlib\axes\_axes.py:6462: UserWarning: The 'normed' kwarg is deprecated, and has been repla
?
?
?
?
?
目錄
解決問(wèn)題
解決思路
解決方法
?
?
?
?
?
解決問(wèn)題
matplotlib\axes\_axes.py:6462: UserWarning: The 'normed' kwarg is deprecated, and has been replaced by the 'density' kwarg.
? warnings.warn("The 'normed' kwarg is deprecated, and has been "
?
?
?
解決思路
錯(cuò)誤地址:matplotlib\axes\_axes.py:6462:
這個(gè) 'normed'參數(shù)已經(jīng)要被棄用, 而用這個(gè)參數(shù) 'density' 參數(shù)所代替
?
?
?
解決方法
此信息提示為警告,而不是error,即使不處理也不會(huì)影響代碼編程的運(yùn)行。如果想要去掉,可以更新庫(kù)至最新版本!
然后根據(jù)要求提示修改使用方法!
將'normed'參數(shù),用這個(gè)參數(shù) 'density'來(lái)代替即可!
?
?
總結(jié)
以上是生活随笔為你收集整理的成功解决matplotlib\axes\_axes.py:6462: UserWarning: The 'normed' kwarg is deprecated, and has been repla的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Py之gpxpy:gpxpy的简介、安装
- 下一篇: 成功解决matplotlib\cbook