Changed colormap.setAxis to colormap.setIndex