colour-science / colour

Colour Science for Python
https://www.colour-science.org
BSD 3-Clause "New" or "Revised" License
2.14k stars 263 forks source link

CRI Incorrect Labels in Plot #1175

Closed blue-j closed 1 year ago

blue-j commented 1 year ago

Description

It looks like instead of “Ra”, “R1”, etc, the default labels in CRI plotting use the “Qa”, “Q1”, labels. I reserve the right to be wrong! - J

Code for Reproduction

from colour import SDS_ILLUMINANTS illuminant = SDS_ILLUMINANTS["FL2"] plot_single_sd_colour_rendering_index_bars(illuminant)

Exception Message

No response

Environment Information

No response

KelSolaar commented 1 year ago

It is because both the colour quality scale and colour rendering index figures use the same underlying definition. I did not really bothered changing the labels as there is no standard diagram defined for them and they both return a measure of colour quality, hence the Qn labelling. We could change it to have a specific labelling per-method that said.