substituted broken link

This commit is contained in:
Martin Diehl 2021-03-20 14:34:14 +01:00
parent 95fe007369
commit 7012099d0c
1 changed files with 2 additions and 2 deletions

View File

@ -526,7 +526,7 @@ class Colormap(mpl.colors.ListedColormap):
References References
---------- ----------
http://www.ryanjuckett.com/programming/rgb-color-space-conversion https://www.easyrgb.com/en/math.php
""" """
rgb_lin = np.dot(np.array([ rgb_lin = np.dot(np.array([
@ -546,7 +546,7 @@ class Colormap(mpl.colors.ListedColormap):
References 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) rgb_lin = np.where(rgb>0.04045,((rgb+0.0555)/1.0555)**2.4,rgb/12.92)