endolith / endolith/complex_colormap

Customizable squashing function

Open
#3 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
44
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Mapping [0, ∞) to [0, 1] can be done many different ways, and I found [some worked better or worse for different functions](https://flic.kr/p/CQibRd).

I originally used `mpmath.cplot` for this, which combines squashing and colormapping into the same function `default_color_function()`, but maybe more logical to separate them? Like specify mapping and colormap as parameters to `cplot`, like matplotlib's `norm` parameter.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.