fixing prospector complaints

This commit is contained in:
Martin Diehl 2020-03-14 22:56:13 +01:00
parent 9ad391ae50
commit 941a9fbff4
1 changed files with 2 additions and 1 deletions

View File

@ -450,8 +450,9 @@ class Colormap:
def rad_diff(a,b):
return abs(a[2]-b[2])
# if saturation of one of the two colors is too less than the other, hue of the less
def adjust_hue(Msh_sat, Msh_unsat):
"""If saturation of one of the two colors is too less than the other, hue of the less."""
if Msh_sat[0] >= Msh_unsat[0]:
return Msh_sat[2]
else: