I tried the code below but I only received a list of all the ttf font files.
import matplotlib.font_manager as fm
for font in fm.findSystemFonts():
print font
I was thinking maybe I need to use the findFont() function from matplotlib but I'm not sure how to use it. My goal here is to be able to ask python what the default font it uses for matplotlib is and ideally if it is not Times New Roman I would like to change the default to Times New Roman. Also, if times new roman does not exist for the matplotlib library then how can I change the default to the next best serif font.