Plotting

Common

colour.plotting

colour_style([use_style]) Returns Colour plotting style.
colour_cycle(**kwargs) Returns a colour cycle iterator using given colour map.
artist(**kwargs) Returns the current figure and its axes or creates a new one.
camera(**kwargs) Sets the camera settings.
render(**kwargs) Renders the current figure while adjusting various settings such as the bounding box, the title or background transparency.
label_rectangles(labels, rectangles[, …]) Add labels above given rectangles.
uniform_axes3d(axes) Sets equal aspect ratio to given 3d axes.
single_colour_swatch_plot(*args, **kwargs) Plots given colour swatch.
multi_colour_swatch_plot(*args, **kwargs) Plots given colours swatches.
image_plot(*args, **kwargs) Plots given image.

Colorimetry

colour.plotting

single_spd_plot(*args, **kwargs) Plots given spectral power distribution.
multi_spd_plot(*args, **kwargs) Plots given spectral power distributions.
single_cmfs_plot(*args, **kwargs) Plots given colour matching functions.
multi_cmfs_plot(*args, **kwargs) Plots given colour matching functions.
single_illuminant_spd_plot(*args, **kwargs) Plots given single illuminant spectral power distribution.
multi_illuminant_spd_plot(*args, **kwargs) Plots given illuminants spectral power distributions.
visible_spectrum_plot(*args, **kwargs) Plots the visible colours spectrum using given standard observer CIE XYZ colour matching functions.
single_lightness_function_plot(*args, **kwargs) Plots given Lightness function.
multi_lightness_function_plot(*args, **kwargs) Plots given Lightness functions.
blackbody_spectral_radiance_plot(*args, **kwargs) Plots given blackbody spectral radiance.
blackbody_colours_plot(*args, **kwargs) Plots blackbody colours.

Colour Vision Deficiency

colour.plotting

cvd_simulation_Machado2009_plot(*args, **kwargs) Performs colour vision deficiency simulation on given RGB colourspace array using Machado et alii (2009) model.

Colour Characterisation

colour.plotting

single_colour_checker_plot(*args, **kwargs) Plots given colour checker.
multi_colour_checker_plot(*args, **kwargs) Plots and compares given colour checkers.

Corresponding Chromaticities

colour.plotting

corresponding_chromaticities_prediction_plot(…) Plots given chromatic adaptation model corresponding chromaticities prediction.

CIE Chromaticity Diagrams

colour.plotting

chromaticity_diagram_plot_CIE1931(*args, …) Plots the CIE 1931 Chromaticity Diagram.
chromaticity_diagram_plot_CIE1960UCS(*args, …) Plots the CIE 1960 UCS Chromaticity Diagram.
chromaticity_diagram_plot_CIE1976UCS(*args, …) Plots the CIE 1976 UCS Chromaticity Diagram.
spds_chromaticity_diagram_plot_CIE1931(…) Plots given spectral power distribution chromaticity coordinates into the CIE 1931 Chromaticity Diagram.
spds_chromaticity_diagram_plot_CIE1960UCS(…) Plots given spectral power distribution chromaticity coordinates into the CIE 1960 UCS Chromaticity Diagram.
spds_chromaticity_diagram_plot_CIE1976UCS(…) Plots given spectral power distribution chromaticity coordinates into the CIE 1976 UCS Chromaticity Diagram.

Ancillary Objects

colour.plotting.diagrams

spectral_locus_plot(*args, **kwargs) Plots the Spectral Locus according to given method.
chromaticity_diagram_colours_plot(*args, …) Plots the Chromaticity Diagram colours according to given method.
chromaticity_diagram_plot(*args, **kwargs) Plots the Chromaticity Diagram according to given method.

Colour Models

colour.plotting

RGB_colourspaces_chromaticity_diagram_plot_CIE1931(…) Plots given RGB colourspaces in the CIE 1931 Chromaticity Diagram.
RGB_colourspaces_chromaticity_diagram_plot_CIE1960UCS(…) Plots given RGB colourspaces in the CIE 1960 UCS Chromaticity Diagram.
RGB_colourspaces_chromaticity_diagram_plot_CIE1976UCS(…) Plots given RGB colourspaces in the CIE 1976 UCS Chromaticity Diagram.
RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1931(…) Plots given RGB colourspace array in the CIE 1931 Chromaticity Diagram.
RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1960UCS(…) Plots given RGB colourspace array in the CIE 1960 UCS Chromaticity Diagram.
RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1976UCS(…) Plots given RGB colourspace array in the CIE 1976 UCS Chromaticity Diagram.
single_cctf_plot(*args, **kwargs) Plots given colourspace colour component transfer function.
multi_cctf_plot(*args, **kwargs) Plots given colourspaces colour component transfer functions.

Ancillary Objects

colour.plotting.models

RGB_colourspaces_chromaticity_diagram_plot(…) Plots given RGB colourspaces in the Chromaticity Diagram according to given method.
RGB_chromaticity_coordinates_chromaticity_diagram_plot(…) Plots given RGB colourspace array in the CIE 1931 Chromaticity Diagram.

Colour Notation Systems

colour.plotting

single_munsell_value_function_plot(*args, …) Plots given Lightness function.
multi_munsell_value_function_plot(*args, …) Plots given Munsell value functions.

Optical Phenomena

colour.plotting

single_rayleigh_scattering_spd_plot(*args, …) Plots a single Rayleigh scattering spectral power distribution.
the_blue_sky_plot(*args, **kwargs) Plots the blue sky.

Colour Quality

colour.plotting

single_spd_colour_rendering_index_bars_plot(…) Plots the Colour Rendering Index (CRI) of given illuminant or light source spectral power distribution.
multi_spd_colour_rendering_index_bars_plot(…) Plots the Colour Rendering Index (CRI) of given illuminants or light sources spectral power distributions.
single_spd_colour_quality_scale_bars_plot(…) Plots the Colour Quality Scale (CQS) of given illuminant or light source spectral power distribution.
multi_spd_colour_quality_scale_bars_plot(…) Plots the Colour Quality Scale (CQS) of given illuminants or light sources spectral power distributions.

Ancillary Objects

colour.plotting.quality

colour_quality_bars_plot(*args, **kwargs) Plots the colour quality data of given illuminants or light sources colour quality specifications.

Colour Temperature & Correlated Colour Temperature

colour.plotting

planckian_locus_chromaticity_diagram_plot_CIE1931(…) Plots the Planckian Locus and given illuminants in CIE 1931 Chromaticity Diagram.
planckian_locus_chromaticity_diagram_plot_CIE1960UCS(…) Plots the Planckian Locus and given illuminants in CIE 1960 UCS Chromaticity Diagram.

Ancillary Objects

colour.plotting.temperature

planckian_locus_plot(*args, **kwargs) Plots the Planckian Locus accordingly to given method.
planckian_locus_chromaticity_diagram_plot(…) Plots the Planckian Locus and given illuminants in the Chromaticity Diagram accordingly to given method.

Colour Models Volume

colour.plotting

RGB_colourspaces_gamuts_plot(*args, **kwargs) Plots given RGB colourspaces gamuts in given reference colourspace.
RGB_scatter_plot(*args, **kwargs) Plots given RGB colourspace array in a scatter plot.

Geometry Plotting Utilities

colour.plotting

quad([plane, origin, width, height, depth]) Returns the vertices of a quad geometric element in counter-clockwise order.
grid([plane, origin, width, height, depth, …]) Returns the vertices of a grid made of quads.
cube([plane, origin, width, height, depth, …]) Returns the vertices of a cube made of grids.