colour.plotting.temperature.plot_planckian_locus_in_chromaticity_diagram#

colour.plotting.temperature.plot_planckian_locus_in_chromaticity_diagram(illuminants: Union[str, Sequence[str]], chromaticity_diagram_callable: Callable = plot_chromaticity_diagram, method: Union[Literal['CIE 1931', 'CIE 1960 UCS'], str] = 'CIE 1931', annotate_kwargs: Optional[Union[Dict, List[Dict]]] = None, plot_kwargs: Optional[Union[Dict, List[Dict]]] = None, **kwargs: Any) Tuple[Figure, Axes][source]#

Plot the Planckian Locus and given illuminants in the Chromaticity Diagram according to given method.

Parameters:
Returns:

Current figure and axes.

Return type:

tuple

Examples

>>> annotate_kwargs = [
...     {"xytext": (-25, 15), "arrowprops": {"arrowstyle": "-"}},
...     {"arrowprops": {"arrowstyle": "-["}},
...     {},
... ]
>>> plot_kwargs = [
...     {
...         "markersize": 15,
...     },
...     {"color": "r"},
...     {},
... ]
>>> plot_planckian_locus_in_chromaticity_diagram(
...     ["A", "B", "C"],
...     annotate_kwargs=annotate_kwargs,
...     plot_kwargs=plot_kwargs,
... )  
(<Figure size ... with 1 Axes>, <...AxesSubplot...>)
plot_planckian_locus_in_chromaticity_diagram