The Spectrum object defines a color spectrum for the contour display.
import visualization session.spectrums[name]
This method creates a Spectrum object and places it in the spectrums repository.
session.Spectrum
Required arguments
A string name for the spectrum.
A sequence of strings indicating the colors of the spectrum.
Optional arguments
Return value
A Spectrum object.
Exceptions