Originally I can set the figure title to bold by the following:
import Matplotlib.pyplot as plt
plt.title("Test",fontweight="bold")
but 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?