我在Python代碼中使用matplotlib。我收到了以下警告:
xx.py:57: MatplotlibDeprecationWarning:
The compare_versions function was deprecated in Matplotlib 3.2 and will be removed two minor releases later.
求教,這是什么問題?要怎么解決?
uj5u.com熱心網友回復:
import warningswarnings.filterwarnings('ignore')
上述警告的意思是: matplotlib 3.2中已被棄用,將在兩個較小的版本之后洗掉。如果還想用那么就不能升級版本
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/223157.html
上一篇:Django無法啟動,感覺是版本或環境的問題,好扎心啊,求大神解脫
下一篇:bigsur pyqt5打不開
