It sounds as an easy problem but I do not find any effective solution to change the font (not the font size) in a plot made with matplotlib in python.
I found a coup
You can also use rcParams to change the font family globally.
rcParams
import matplotlib.pyplot as plt plt.rcParams["font.family"] = "cursive" # This will change to your computer's default cursive font
The list of matplotlib's font family arguments is here.