yt.raven.PlotCollection.set_cmap

PlotCollection.set_cmap(cmap)

Change the colormap of all plots.

This function will update the colormap on all plots for which a colormap makes sense. The colors may not be updated unless _redraw_image is called on the plots, which should occur with a change in the width or saving of images.

Parameters :

cmap : string

An acceptable colormap. See either raven.color_maps or http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps .

Previous topic

yt.raven.PlotCollection.save_book

Next topic

yt.raven.PlotCollection.set_lim

This Page