.. colorspace documentation master file, created by
sphinx-quickstart on Tue Jun 8 15:23:03 2021.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. automodule:: imageio
A Toolbox for Manipulating and Assessing Colors and Palettes
============================================================
*colorspace* is a Python package to create and handle colors and color
palettes in Python. Based on the Hue-Chroma-Luminance (HCL) color space
effective color palettes can be designed and implemented in your own daily
workflow.
This package is based on the
`R colorspace `_ package
to make the tools easily available for Python enthusiasts. More information
and an interactive interface can also be found on
`HCLwizard.org `__.
The package itself can be found on
`GitHub `_ and this documentation
is also available on `GitHub Pages `_.
Contents
--------
.. toctree::
:maxdepth: 1
articles/installation
articles/color_spaces
articles/hcl_palettes
articles/palette_visualization
articles/choose_palette
articles/cvd
articles/manipulation_utilities
articles/approximations
articles/endrainbow
Other Packages and Further Reading
----------------------------------
More information and further reading:
* `HCLwizard.org `__: More information about the HCL color
space, introduction to the *colorspace* packages (available for
`R `_ and
`Python `_), and some
interactive tools to define effective HCL-based color palettes, pick colors,
and check existing plots and figures for possible problems in terms of color
vision deficiencies.
* `A list of scientific articles `__
which provide more detailed insights, e.g.,
* `The end of the rainbow `_:
An open letter to the climate science community by
Ed Hawkins, Doug McNeall, David Stephenson, Jonny Williams & Dave Carlson.
* `Better Figures `_: Constructive criticism of the
graphics of climate science by Doug McNeall.
Scientific articles with more detailed insights:
* Zeileis, A., Fisher, J., Hornik, K., Ihaka, R., McWhite, C., Murrell, P.,
Stauffer, R., & Wilke, C. (2020). `colorspace: A Toolbox for Manipulating and
Assessing Colors and Palettes `_.
Journal of Statistical Software, 96(1), 1–49, doi:
`https://doi.org/10.18637/jss.v096.i01 `_
* Stauffer, R., Mayr, G. J., Dabernig, M., & Zeileis, A. (2015). `Somewhere
Over the Rainbow: How to Make Effective Use o f Colors in Meteorological
Visualizations `_. Bulletin of the
American Meteorological Society, 96(2), 203–216, doi:
`10.1175/BAMS-D-13-00155.1 `_.
* Zeileis, A., Hornik, K., & Murrell, P. (2009). `Escaping RGBland: Selecting
colors for statistical graphics `_.
Computational Statistics & Data
Analysis , 53(9), 3259–3270,
doi:`10.1016/j.csda.2008.11.033 `_.
* Ihaka, R., 2003. `Colour for presentation graphics
`_. In:
Hornik, K., Leisch, F., Zeileis, A. (Eds.), Proceedings of the 3rd
International Workshop on Distributed Statistical Computing, Vienna, Austria,
ISSN 1609-395X, URL:
``_.
* `And others `__.
(`HCLwizard.org `__ reference list).
Some other packages providing color maps in Python (on top of the default color
maps) wich might be of interest:
* `seaborn `_:
Statistical data visualization. The package also provides access to a
range of (mostly) well specified
`color palettes `_.
* `palettable `_: Color palettes for Python.
Formely known as ``brewer2mpl``. Provides a range of color palettes including
"Brewer2" and "Carto" palettes.
* `ColorBrewer2.org `_: The source of the brewer colors,
interactive web page by Cynthia Brewer, Mark Harrower, and The Pennsylvania State University.
Known issues
------------
.. _index-known-issues:
.. warning::
White point implemented but might require some additional testing.
TODO's
------
.. todolist::