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

Method get_fig_manager

lib/matplotlib/_pylab_helpers.py:34–42  ·  view source on GitHub ↗

If manager number *num* exists, make it the active one and return it; otherwise return *None*.

(cls, num)

Source from the content-addressed store, hash-verified

32
33 @classmethod
34 def get_fig_manager(cls, num):
35 """
36 If manager number *num* exists, make it the active one and return it;
37 otherwise return *None*.
38 """
39 manager = cls.figs.get(num, None)
40 if manager is not None:
41 cls.set_active(manager)
42 return manager
43
44 @classmethod
45 def destroy(cls, num):

Callers 8

figureFunction · 0.80
savefigMethod · 0.80
savefigMethod · 0.80
getMethod · 0.80
getMethod · 0.80
openMethod · 0.80
on_messageMethod · 0.80

Calls 2

getMethod · 0.45
set_activeMethod · 0.45