We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a52f192 + a6404f6 commit 7236f5eCopy full SHA for 7236f5e
cmocean/plots.py
@@ -105,7 +105,8 @@ def plot_gallery(saveplot=False):
105
rgb = cmap(x)[np.newaxis, :, :3]
106
107
# Find a good conversion to grayscale
108
- jch = cspace_converter("sRGB1", "JCh")(rgb)
+ jch = cspace_converter("sRGB1", "CAM02-UCS")(rgb) # Not sure why to use JCh instead so using this.
109
+ # jch = cspace_converter("sRGB1", "JCh")(rgb)
110
L = jch[0, :, 0]
111
# # Get colormap in CIE LAB. We want the L here.
112
# lab = color.rgb2lab(rgb)
0 commit comments