def jet():
 rc(u'image', cmap=u'jet')
 im = gci()
 if (im is not None):
  im.set_cmap(cm.jet)

def jet ( ) : rc ( u'image' , cmap = u'jet' ) im = gci ( ) if ( im is not None ) : im . set_cmap ( cm . jet )
set the default colormap to jet and apply to current image if any .