def gcf():
 figManager = _pylab_helpers.Gcf.get_active()
 if (figManager is not None):
  return figManager.canvas.figure
 else:
  return figure()

def gcf ( ) : figManager = _pylab_helpers . Gcf . get_active ( ) if ( figManager is not None ) : return figManager . canvas . figure else : return figure ( )
return a handle to the current figure .