From 941a9fbff40f044a019dd8329b572a5bd9dce954 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 14 Mar 2020 22:56:13 +0100 Subject: [PATCH] fixing prospector complaints --- python/damask/colormaps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/damask/colormaps.py b/python/damask/colormaps.py index 9bd3b8677..9c27da147 100644 --- a/python/damask/colormaps.py +++ b/python/damask/colormaps.py @@ -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: