colour.plotting.RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1931

colour.plotting.RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1931(RGB, colourspace='sRGB', chromaticity_diagram_callable_CIE1931=<function RGB_colourspaces_chromaticity_diagram_plot_CIE1931>, **kwargs)[source]

Plots given RGB colourspace array in CIE 1931 Chromaticity Diagram.

Parameters:
  • RGB (array_like) – RGB colourspace array.
  • colourspace (optional, unicode) – RGB colourspace of the RGB array.
  • chromaticity_diagram_callable_CIE1931 (callable, optional) – Callable responsible for drawing the CIE 1931 Chromaticity Diagram.
Other Parameters:
 
Returns:

Current figure or None.

Return type:

Figure

Examples

>>> RGB = np.random.random((10, 10, 3))
>>> c = 'ITU-R Rec. 709'
>>> RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1931(RGB, c)
...