Matplotlib: Times New Roman appears bold

后端 未结 8 1755
醉梦人生
醉梦人生 2021-02-14 23:40

For some reason when using Times New Roman in my mpl plots it appears bold. Other fonts are OK.

Here is a minimal example, and the result (inside a Word doc

8条回答
  •  爱一瞬间的悲伤
    2021-02-15 00:04

    As mentioned the font selection algorithm picks the first font in the Time New Roman family, which has four different files (bold, bold italic, italic and regular). So the steps would be:

    1. Go to C:\Windows\Fonts\Times New Roman
    2. Right-click → Sort by → Descending (the order will change so the Times New Roman Regular will end up as the first, and that will be the font the algorithm will choose).

提交回复
热议问题