44********************************
55
66Matplotlib has a number of built-in colormaps accessible via
7- `.matplotlib.cm.get_cmap`. There are also external libraries like
8- [palettable]_ and [colorcet]_ that have many extra colormaps.
7+ `.matplotlib.cm.get_cmap`. There are also external libraries that
8+ have many extra colormaps, which can be viewed in the
9+ `Third-party colormaps`_ section of the Matplotlib documentation.
910Here we briefly discuss how to choose between the many options. For
1011help on creating your own colormaps, see
1112:doc:`/tutorials/colors/colormap-manipulation`.
3233perceives changes in the lightness parameter as changes in the data
3334much better than, for example, changes in hue. Therefore, colormaps
3435which have monotonically increasing lightness through the colormap
35- will be better interpreted by the viewer. A wonderful example of
36- perceptually uniform colormaps is [colorcet]_.
36+ will be better interpreted by the viewer. Wonderful examples of
37+ perceptually uniform colormaps can be found in the
38+ `Third-party colormaps`_ section as well.
3739
3840Color can be represented in 3D space in various ways. One way to represent color
3941is using CIELAB. In CIELAB, color space is represented by lightness,
@@ -414,7 +416,7 @@ def plot_color_gradients(cmap_category, cmap_list):
414416# References
415417# ==========
416418#
417- # .. [colorcet] https://colorcet.pyviz. org
419+ # .. _Third-party colormaps: https://matplotlib. org/mpl-third-party/#colormaps-and-styles
418420# .. [Ware] http://ccom.unh.edu/sites/default/files/publications/Ware_1988_CGA_Color_sequences_univariate_maps.pdf
419421# .. [Moreland] http://www.kennethmoreland.com/color-maps/ColorMapsExpanded.pdf
420422# .. [list-colormaps] https://gist.github.com/endolith/2719900#id7
@@ -424,5 +426,4 @@ def plot_color_gradients(cmap_category, cmap_list):
424426# .. [bw] http://www.tannerhelland.com/3643/grayscale-image-algorithm-vb6/
425427# .. [colorblindness] http://www.color-blindness.com/
426428# .. [IBM] https://doi.org/10.1109/VISUAL.1995.480803
427- # .. [palettable] https://jiffyclub.github.io/palettable/
428429# .. [turbo] https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html
0 commit comments