Originally I can set the figure title to bold by the following:
import matplotlib.pyplot as plt
plt.title("Test", fontweight="bold")
Yet once I use fontname="Times New Roman"
, fontweight="bold"
just won't result in any change at all:
import matplotlib.pyplot as plt
plt.title("Test", fontname="Times New Roman", fontweight="bold")
How shall I set the figure title to bold?