U
    Ćmd{  ć                   @   s   d dl Zdd ZdS )é    Nc                 C   sJ   ddl m} t d| df”}tjdd| dd|ddddf< | |” ” S )a}  
    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.
    r   )Ścolorsé   é   F)ZendpointN)Z
matplotlibr   ŚnpZonesZlinspaceŚ
hsv_to_rgbZsqueeze)Śnr   ŚR© r	   śW/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/statsmodels/graphics/plottools.pyŚrainbow   s     r   )Śnumpyr   r   r	   r	   r	   r
   Ś<module>   s   