regelungstechnik.py
def colorspace(num, saturation=1, value=0.8, start=0.0):
    """
    Returns a list of rgb triples visually evenly spaced in regard of hues;
    start markes first color hue in degrees.
    """
    # Matplotlib uses hues in range [0,1].
    start /= 360.0

    hues = np.arange(0.0, 1.0, 1.0 / num)

    # The hues in the hsv color space are visually not evenly distributed.
    # To compensate this effect, we calculate hue**1.5.
    hues = hues ** 1.5

    colors = []
    for hue in hues:
        hsv = ((hue + start) % 1.0, saturation, value)
        colors.append(col.hsv_to_rgb(hsv))

    return colors

    Returns a list of rgb triples visually evenly spaced in regard of hues;
    start markes first color hue in degrees.
    
Returns a list of rgb triples visually evenly spaced in regard of hues;
start markes first color hue in degrees.
Returns a list of rgb triples visually evenly spaced in regard of hues ; start markes first color hue in degrees .
def colorspace(num, saturation=1, value=0.8, start=0.0):
    start /= 360.0
    hues = np.arange(0.0, 1.0, 1.0 / num)
    hues = hues ** 1.5
    colors = []
    for hue in hues:
        hsv = ((hue + start) % 1.0, saturation, value)
        colors.append(col.hsv_to_rgb(hsv))
    return colors
def colorspace ( num , saturation = 1 , value = 0.8 , start = 0.0 ) : start /= 360.0 hues = np . arange ( 0.0 , 1.0 , 1.0 / num ) hues = hues ** 1.5 colors = [ ] for hue in hues : hsv = ( ( hue + start ) % 1.0 , saturation , value ) colors . append ( col . hsv_to_rgb ( hsv ) ) return colors
Returns a list of rgb triples visually evenly spaced in regard of hues;
start markes first color hue in degrees.
Returns a list of rgb triples visually evenly spaced in regard of hues ; start markes first color hue in degrees .
"""
    Returns a list of rgb triples visually evenly spaced in regard of hues;
    start markes first color hue in degrees.
    """ # Matplotlib uses hues in range [0,1]. # The hues in the hsv color space are visually not evenly distributed. # To compensate this effect, we calculate hue**1.5.
num
saturation
value
start