From 7012099d0c329cc622e12ced57aefd71f089af1d Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 20 Mar 2021 14:34:14 +0100 Subject: [PATCH] substituted broken link --- python/damask/_colormap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/damask/_colormap.py b/python/damask/_colormap.py index d14503f5c..2b8782134 100644 --- a/python/damask/_colormap.py +++ b/python/damask/_colormap.py @@ -526,7 +526,7 @@ class Colormap(mpl.colors.ListedColormap): References ---------- - http://www.ryanjuckett.com/programming/rgb-color-space-conversion + https://www.easyrgb.com/en/math.php """ rgb_lin = np.dot(np.array([ @@ -546,7 +546,7 @@ class Colormap(mpl.colors.ListedColormap): References ---------- - http://www.ryanjuckett.com/programming/rgb-color-space-conversion + https://www.easyrgb.com/en/math.php """ rgb_lin = np.where(rgb>0.04045,((rgb+0.0555)/1.0555)**2.4,rgb/12.92)