Spectrum(...)
This method creates a Spectrum object and places it in the spectrums repository.
Path
session.Spectrum
Required arguments
- name
-
A string name for the spectrum.
- colors
-
A sequence of strings indicating the colors of the spectrum.
Optional arguments
None.
Return value
A Spectrum object.
Exceptions
None.