class_docstr: Singleton to manage a set of integer-numbered figures.
  
  This class is never instantiated; it consists of two class
  attributes (a list and a dictionary), and a set of static
  methods that operate on those attributes, accessing them
  directly as class attributes.
  
  Attributes:
  
      *figs*:
        dictionary of the form {*num*: *manager*, ...}
  
      *_activeQue*:
        list of *managers*, with active one at the end
class_docstr_tok: ["Singleton","to","manage","a","set","of","integer-numbered","figures",".","This","class","is","never","instantiated",";","it","consists","of","two","class","attributes","(","a","list","and","a","dictionary",")",",","and","a","set","of","static","methods","that","operate","on","those","attributes",",","accessing","them","directly","as","class","attributes",".","Attributes",":","*","figs","*",":","dictionary","of","the","form","{","*","num","*",":","*","manager","*",",","...","}","*","_activeQue","*",":","list","of","*","managers","*",",","with","active","one","at","the","end"]
docstr: If figure manager *num* exists, make it the active
  figure and return the manager; otherwise return *None*.
docstr_tok: ["If","figure","manager","*","num","*","exists",",","make","it","the","active","figure","and","return","the","manager",";","otherwise","return","*","None","*","."]
code: def get_fig_manager(cls, num):
      """
      If figure manager *num* exists, make it the active
      figure and return the manager; otherwise return *None*.
      """
      manager = cls.figs.get(num, None)
      if manager is not None:
          cls.set_active(manager)
      return manager
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/_pylab_helpers.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import atexit
  import gc
  import sys
label_desc: Use image node_id 1 for calling the Gcf obj's underlying member method code with example usage: obj.get_fig_manager(cls, num) and returns: manager