I have created a figure and have attached to it a title like this:
def func():
fig = plt.figure()
fig.suptitle("my title")
return fig
Now I would like to retrieve the title I set in the function. Something like this:
fig.get_title()
It seems not to exist. Any idea besides returning the Text object that I can get from the fig.suptitle("w/e") function ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…