matplotlibでTimes New Romanを使うためのTips
理系の論文で多用される
Times New Roman
ですが(以下参照) www.panoramic-view.info
matplotlibで使うための方法をまとめておきます.
plt.rcParams['font.family'] = 'Times New Roman'
以上です.
もし,ubuntu等で findfont: Font family ['Times New Roman'] not found. Falling back to DejaVu Sans で使用できない場合は
$ sudo apt install msttcorefonts -qq $ rm ~/.cache/matplotlib -rf
で動くと思います.