rmber wrote:
> I've search and there have been some previous post about this that have gone
> unanswered, so I'll go ahead and ask it again:
>
> Is there a way to set the window title of a figure? I want the top bar of
> the window to say something other than "Figure 1" or "Figure 2" so I can
> easily identify open plots. Again, I'm not interested in the figure title
> that you can set with title('something'), but the words in the main window's
> title, on the same bar as the close,maximize, minimize buttons.
This capability was added fairly recently:
import matplotlib.pyplot as plt
fig = plt.figure()
fig.canvas.set_window_title('Custom')
plt.show()
Eric
>
> Thanks,
>
> Ryan
|