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

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