最佳答案
如何在 pylab/python 中设置图形窗口的标题?
fig = figure(9) # 9 is now the title of the window
fig.set_title("Test") #doesn't work
fig.title = "Test" #doesn't work