matplotlib / viscm

A tool for visualizing and designing colormaps using colorspacious and matplotlib
MIT License
164 stars 32 forks source link

Noisy perceptual derivatives #81

Open apcamargo opened 10 months ago

apcamargo commented 10 months ago

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 commented 10 months ago

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

image

mfisher87 commented 10 months ago

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.