Skip to content

Why do "colour.plotting.plot_sds_in_chromaticity_diagram_*" definitions produce unexpected chromaticity coordinates? #811

Answered by KelSolaar
ChrisABailey asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ChrisABailey,

This is a great question and it is pertaining to a change made to improve consistency across the plotting definitions made last year.

The cause for the shift is that previously, the illuminant used for plotting (and that could not be changed) was CIE E. It is fine and actually what you want when you plot radiation sources but it is causing issues when you plot reflectance or transmittance spectra. With that in mind, and for consistency with the other plotting definitions, I made D65 the default illuminant used for those definitions:

'illuminant':

If you change your code to:

      fig, c31ax = colour.p…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ChrisABailey
Comment options

Answer selected by KelSolaar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants