
    Vfd{                         d dl Zd ZdS )    Nc                     ddl m} t          j        d| df          }t          j        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)endpointN)
matplotlibr   nponeslinspace
hsv_to_rgbsqueeze)nr   Rs      >lib/python3.11/site-packages/statsmodels/graphics/plottools.pyrainbowr      sq    & "!!!!!
1QA{1aU333Aa!eHQ'')))    )numpyr	   r    r   r   <module>r      s*       * * * * *r   