I use matplotlib 3.2.2 with python 3.8 (PyCharm).
I would like to change font on Times New Roman like this:
from matplotlib.font_manager import FontProperties
font = FontProperties()
font.set_family('serif')
font.set_name('Times New Roman')
font.set_style('italic')
(from matplotlib user's guide) But I got an error "findfont: Font family ['Times'] not found. Falling back to DejaVu Sans."
I tried all of the solutions from another post (Matplotlib cannot find basic fonts) and have no results.
Maybe something changed with time? Thanks!