I am considering a patch to support named figures.
Tracker: Feature Requests
pls support named figures - ID: 3057301
instead of only:
would open a figure called 'today' instead of 'figure 1'
Example usage: when opening a lot of tabbed figures (in Spyder) it
would help if the tabs have meaningful names.
I have been successful at modifying pyplot.figure to handle string
arguments. For this I store the figure name in the _label attribute of
the figure in addition to setting the expected plot number value. My
hack seems to works on qt4agg backend (it does requires adding an
optional label argument to the FigureManagerQT constructor).
Is there interest in including such a patch in matplotlib ? Is it
likely to break things elsewhere ?