retostauffer / python-colorspace

Python colorspace implementation. Documentation available on https://retostauffer.github.io/python-colorspace/. The latest release is available via the Python Package Index (PyPI) via https://pypi.org/project/colorspace/
Other
69 stars 15 forks source link

sequential_hcl with constant chroma #10

Closed zeileis closed 5 months ago

zeileis commented 5 months ago

Reto @retostauffer, the documentation claimed that sequential_hcl(..., c = 60, ...) would yield a palette with constant chroma. However, this is not true: In that case chroma changes linearly between 60 and 0. The code is consistent with the R implementation.

So I changed the docs (feel free to improve further) and modified the example in the "Get started" vignette.