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

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