colour.plotting.plot_planckian_locus_in_chromaticity_diagram_CIE1931

colour.plotting.plot_planckian_locus_in_chromaticity_diagram_CIE1931(illuminants, chromaticity_diagram_callable_CIE1931=<function plot_chromaticity_diagram_CIE1931>, planckian_locus_callable_CIE1931=<function plot_planckian_locus_CIE1931>, annotate_kwargs=None, plot_kwargs=None, **kwargs)[source]

Plots the Planckian Locus and given illuminants in CIE 1931 Chromaticity Diagram.

Parameters
  • illuminants (unicode or object or array_like) – Illuminants to plot. illuminants elements can be of any type or form supported by the colour.plotting.filter_passthrough() definition.

  • chromaticity_diagram_callable_CIE1931 (callable, optional) – Callable responsible for drawing the CIE 1931 Chromaticity Diagram.

  • planckian_locus_callable_CIE1931 (callable, optional) – Callable responsible for drawing the Planckian Locus according to CIE 1931 method.

  • annotate_kwargs (dict or array_like, optional) –

    Keyword arguments for the plt.annotate() definition, used to annotate the resulting chromaticity coordinates with their respective illuminant names. annotate_kwargs can be either a single dictionary applied to all the arrows with same settings or a sequence of dictionaries with different settings for each illuminant. The following special keyword arguments can also be used:

    • annotate : bool, whether to annotate the illuminants.

  • plot_kwargs (dict or array_like, optional) – Keyword arguments for the plt.plot() definition, used to control the style of the plotted illuminants. plot_kwargs can be either a single dictionary applied to all the plotted illuminants with same settings or a sequence of dictionaries with different settings for each plotted illuminant.

  • **kwargs (dict, optional) – {colour.plotting.artist(), colour.plotting.diagrams.plot_chromaticity_diagram(), colour.plotting.temperature.plot_planckian_locus(), colour.plotting.temperature.plot_planckian_locus_in_chromaticity_diagram(), colour.plotting.render()}, Please refer to the documentation of the previously listed definitions.

Returns

Current figure and axes.

Return type

tuple

Examples

>>> plot_planckian_locus_in_chromaticity_diagram_CIE1931(['A', 'B', 'C'])
... 
(<Figure size ... with 1 Axes>, <...AxesSubplot...>)
plot_planckian_locus_in_chromaticity_diagram_CIE1931