code: def get_active():
      if len(Gcf._activeQue) == 0:
          return None
      else:
          return Gcf._activeQue[-1]
  
file_path: nupic-legacy/external/linux32/lib/python2.7/site-packages/matplotlib/_pylab_helpers.py
imports: import sys, gc
label_desc: Use image node_id 6 for calling the Gcf obj's underlying member method code with example usage: obj.get_active() and returns: None, Gcf