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 >
def func(): fig = plt.figure() fig.suptitle(\"my title\") return fig
There seems to be no public API to access this. But with some cautions you could use the non-public / potentially instable members:
fig._suptitle.get_text()