def get_primaries(name='ITU-R BT.2020'):
    '\n    prmary color の座標を求める\n\n\n    Parameters\n    ----------\n    name : str\n        a name of the color space.\n\n    Returns\n    -------\n    array_like\n        prmaries. [[rx, ry], [gx, gy], [bx, by], [rx, ry]]\n\n    '
    primaries = RGB_COLOURSPACES[name].primaries
    primaries = np.append(primaries, [primaries[0, :]], axis=0)
    rgb = np.array([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]])
    return (primaries, rgb)
prmary color の座標を求める


Parameters
----------
name : str
    a name of the color space.

Returns
-------
array_like
    prmaries. [[rx, ry], [gx, gy], [bx, by], [rx, ry]]
def get_primaries(name='ITU-R BT.2020'):
    '\n    prmary color の座標を求める\n\n\n    Parameters\n    ----------\n    name : str\n        a name of the color space.\n\n    Returns\n    -------\n    array_like\n        prmaries. [[rx, ry], [gx, gy], [bx, by], [rx, ry]]\n\n    '
    primaries = RGB_COLOURSPACES[name].primaries
    primaries = np.append(primaries, [primaries[0, :]], axis=0)
    rgb = np.array([[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]])
    return (primaries, rgb)