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