9951 explained code solutions for 126 technologies

python-matplotlibHow to change font to Times New Roman

import matplotlib.pyplot as plt
plt.title('Other Font', fontname='Times New Roman')
plt.show()ctrl + c
import matplotlib.pyplot as plt

loads Matplotlib module to use plotting capabilities


plot specified data


set chart title


set font face from the list of supported fonts


render chart in a separate window