findfont: Font family ['DejaVu Sans'] not found. Falling back to DejaVu Sans.

現象描述 在運行python代碼進行圖像繪製的時候,警告提示出現不少次:findfont: Font family ['DejaVu Sans'] not found. Falling back to DejaVu Sans.python 解決方法 檢查一下matplotlib的版本,肯定不能過舊。 刪除cache目錄中matplotlib目錄,在個人centos系統中,絕對路徑是~/.cache
相關文章
相關標籤/搜索