[問題] matplotlib 下怎麼使用times new roman?
我的matplotlib版本是 3.5.1
我在畫圖的時候
想把字型設定成 Times new Roman
但是一直有錯誤訊息
findfont: Font family ['Times New Roman'] not found. Falling back to DejaVu
Sans.
有人知道要怎麼在matplotlib下去安裝Times New Roman字型嗎?
這問題我google搜尋了一陣子
似乎一直找不到解答
所以才來版上詢問一下版友意見
萬分感謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.117.32.17 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1647332933.A.880.html
推
03/15 16:37,
2年前
, 1F
03/15 16:37, 1F
→
03/15 16:37,
2年前
, 2F
03/15 16:37, 2F
推
03/15 16:50,
2年前
, 3F
03/15 16:50, 3F
→
03/15 16:51,
2年前
, 4F
03/15 16:51, 4F
→
03/15 16:52,
2年前
, 5F
03/15 16:52, 5F
→
03/15 17:08,
2年前
, 6F
03/15 17:08, 6F
→
03/15 17:08,
2年前
, 7F
03/15 17:08, 7F
→
03/15 17:08,
2年前
, 8F
03/15 17:08, 8F
→
03/15 17:09,
2年前
, 9F
03/15 17:09, 9F
→
03/15 17:09,
2年前
, 10F
03/15 17:09, 10F