3.6.5.1.5. statsmodels.graphics.factorplots.rainbow¶
-
statsmodels.graphics.factorplots.
rainbow
(n)[source]¶ Returns a list of colors sampled at equal intervals over the spectrum.
Parameters: n : int
The number of colors to return
Returns: R : (n,3) array
An of rows of RGB color values
Notes
Converts from HSV coordinates (0, 1, 1) to (1, 1, 1) to RGB. Based on the Sage function of the same name.