Skip to content

Commit

Permalink
Update docstrings and inner variable names in "colour.colorimetry.lig…
Browse files Browse the repository at this point in the history
…htness" module.
  • Loading branch information
KelSolaar committed Sep 3, 2014
1 parent 279cee4 commit 102bca4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions colour/colorimetry/lightness.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def lightness_1976(Y, Y_n=100):
Second Edition*,
Wiley Classics Library Edition, published 2000,
ISBN-10: 0-471-39918-3,
page 167.
page 167.
.. [5] http://brucelindbloom.com/index.html?LContinuity.html
(Last accessed 24 February 2014)
Expand All @@ -172,9 +172,9 @@ def lightness_1976(Y, Y_n=100):
"""

ratio = Y / Y_n
L = CIE_K * ratio if ratio <= CIE_E else 116 * ratio ** (1 / 3) - 16
Lstar = CIE_K * ratio if ratio <= CIE_E else 116 * ratio ** (1 / 3) - 16

return L
return Lstar


LIGHTNESS_METHODS = CaseInsensitiveMapping(
Expand Down

0 comments on commit 102bca4

Please sign in to comment.