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(colour_swatch, …) Plots given colour swatch.
multi_colour_swatch_plot(colour_swatches[, …]) Plots given colours swatches.
single_function_plot(function[, samples, …]) Plots given function.
multi_function_plot(functions[, samples, …]) Plots given functions.
image_plot(image[, text_parameters, …]) Plots given image.

Colorimetry

colour.plotting

single_spd_plot(spd[, cmfs, …]) Plots given spectral power distribution.
multi_spd_plot(spds[, cmfs, …]) Plots given spectral power distributions.
single_cmfs_plot([cmfs]) Plots given colour matching functions.
multi_cmfs_plot([cmfs]) Plots given colour matching functions.
single_illuminant_spd_plot([illuminant, cmfs]) Plots given single illuminant spectral power distribution.
multi_illuminant_spd_plot([illuminants]) Plots given illuminants spectral power distributions.
visible_spectrum_plot([cmfs, …]) Plots the visible colours spectrum using given standard observer CIE XYZ colour matching functions.
single_lightness_function_plot([function]) Plots given Lightness function.
multi_lightness_function_plot([functions]) Plots given Lightness functions.
single_luminance_function_plot([function]) Plots given Luminance function.
multi_luminance_function_plot([functions]) Plots given Luminance functions.
blackbody_spectral_radiance_plot([…]) Plots given blackbody spectral radiance.
blackbody_colours_plot([shape, cmfs]) Plots blackbody colours.

Colour Vision Deficiency

colour.plotting

cvd_simulation_Machado2009_plot(RGB[, …]) Performs colour vision deficiency simulation on given RGB colourspace array using Machado et al.(2009) model..

Colour Characterisation

colour.plotting

single_colour_checker_plot([colour_checker]) Plots given colour checker.
multi_colour_checker_plot([colour_checkers]) 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([cmfs, …]) Plots the CIE 1931 Chromaticity Diagram.
chromaticity_diagram_plot_CIE1960UCS([cmfs, …]) Plots the CIE 1960 UCS Chromaticity Diagram.
chromaticity_diagram_plot_CIE1976UCS([cmfs, …]) Plots the CIE 1976 UCS Chromaticity Diagram.
spds_chromaticity_diagram_plot_CIE1931(spds) Plots given spectral power distribution chromaticity coordinates into the CIE 1931 Chromaticity Diagram.
spds_chromaticity_diagram_plot_CIE1960UCS(spds) Plots given spectral power distribution chromaticity coordinates into the CIE 1960 UCS Chromaticity Diagram.
spds_chromaticity_diagram_plot_CIE1976UCS(spds) Plots given spectral power distribution chromaticity coordinates into the CIE 1976 UCS Chromaticity Diagram.

Ancillary Objects

colour.plotting.diagrams

spectral_locus_plot([cmfs, …]) Plots the Spectral Locus according to given method.
chromaticity_diagram_colours_plot([samples, …]) Plots the Chromaticity Diagram colours according to given method.
chromaticity_diagram_plot([cmfs, …]) 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(RGB) Plots given RGB colourspace array in the CIE 1931 Chromaticity Diagram.
RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1960UCS(RGB) Plots given RGB colourspace array in the CIE 1960 UCS Chromaticity Diagram.
RGB_chromaticity_coordinates_chromaticity_diagram_plot_CIE1976UCS(RGB) Plots given RGB colourspace array in the CIE 1976 UCS Chromaticity Diagram.
single_cctf_plot([cctf, decoding_cctf]) Plots given colourspace colour component transfer function.
multi_cctf_plot([cctfs, decoding_cctf]) Plots given 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(RGB) Plots given RGB colourspace array in the CIE 1931 Chromaticity Diagram.

Colour Notation Systems

colour.plotting

single_munsell_value_function_plot([function]) Plots given Lightness function.
multi_munsell_value_function_plot([functions]) Plots given Munsell value functions.

Optical Phenomena

colour.plotting

single_rayleigh_scattering_spd_plot([…]) Plots a single Rayleigh scattering spectral power distribution.
the_blue_sky_plot([cmfs]) 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(specifications[, …]) 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([…]) 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([colourspaces, …]) Plots given RGB colourspaces gamuts in given reference colourspace.
RGB_scatter_plot(RGB, colourspace[, …]) 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.