If you get the following error:
UserWarning: findfont: Font family ['Times New Roman'] not found. Falling back to DejaVu Sans.
(prop.get_family(), self.defaultFamily[fontext]))
The solution is to enter the following command from Terminal.
$ sudo apt install msttcorefonts -qq
$ rm ~/.cache/matplotlib -rf
For ttf-mscorefonts-installer
, move the cursor to the position you want to select with Tab and press Enter.
Recommended Posts