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

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