MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_figlabels

Function get_figlabels

lib/matplotlib/pyplot.py:1210–1214  ·  view source on GitHub ↗

Return a list of existing figure labels.

()

Source from the content-addressed store, hash-verified

1208
1209
1210def get_figlabels() -> list[Any]:
1211 """Return a list of existing figure labels."""
1212 managers = _pylab_helpers.Gcf.get_all_fig_managers()
1213 managers.sort(key=lambda m: m.num)
1214 return [m.canvas.figure.get_label() for m in managers]
1215
1216
1217def get_current_fig_manager() -> FigureManagerBase | None:

Callers 3

figureFunction · 0.85
fignum_existsFunction · 0.85
closeFunction · 0.85

Calls 2

get_all_fig_managersMethod · 0.80
get_labelMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…