yt.raven.PlotCollectionInteractive.set_cmap

PlotCollectionInteractive.set_cmap(*args, **kwargs)

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 .

This Page