def get_figlabels():
 figManagers = _pylab_helpers.Gcf.get_all_fig_managers()
 figManagers.sort(key=(lambda m: m.num))
 return [m.canvas.figure.get_label() for m in figManagers]

def get_figlabels ( ) : figManagers = _pylab_helpers . Gcf . get_all_fig_managers ( ) figManagers . sort ( key = ( lambda m : m . num ) ) return [ m . canvas . figure . get_label ( ) for m in figManagers ]
return a list of existing figure labels .