MatplotlibDeprecationWarning

shell 運行exe的時候顯示這句話

The MATPLOTLIBDATA environment variable was deprecated in Matplotlib 3.1 and will be removed in 3.3.

這個多半是因爲這句導致的,註釋掉就ok

import warnings
warnings.simplefilter("error")
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章