viscm icon indicating copy to clipboard operation
viscm copied to clipboard

Noisy perceptual derivatives

Open apcamargo opened this issue 1 year ago • 2 comments

I'm playing around with viscm and I noticed that all colormaps that I create end up with very noisy perceptual derivatives:

image

test_cm.jscm.txt

This is not a problem with the built-in colormaps, so I assume it is not a problem with the viewer, but with the colormap creation process. Any clue of what might be going on here?

apcamargo avatar Oct 21 '23 18:10 apcamargo

Apparently, this doesn't happen when I load the colormap from a .py file:

image

apcamargo avatar Oct 21 '23 19:10 apcamargo

Looks related to: https://github.com/matplotlib/viscm/issues/56

I don't have a great idea why this is happening. I may have time to dig in to it soon, but not guaranteed.

mfisher87 avatar Oct 21 '23 22:10 mfisher87