import WrightTools as wt import matplotlib.pyplot as plt cmap = wt.artists.colormaps['cubehelix'] wt.artists.plot_colormap_components(cmap) wt.artists.savefig('cubehelix_cmap.png')