Colorcet

Latest version: v3.1.0

Safety actively analyzes 621876 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

3.1.0

Minor release to remove the colorcet examples CLI and drop support for Python 2.7, 3.6 and add support for 3.11, 3.12.

Thank you to the core maintainers Hoxbro, maximlt, and jbednar. Also, thank you to timw6n, droumis, and jthetzel for their first contributions!

Breaking Changes:
* Remove `colorcet examples` CLI ([120](https://github.com/holoviz/colorcet/pull/120))

Bug Fixes:
* Only register if cmap not in colormaps ([108](https://github.com/holoviz/colorcet/pull/108))

Maintenance and Compatibility:
* Drop Python 2.7 and 3.6 and add 3.11, 3.12 ([110](https://github.com/holoviz/colorcet/pull/110), [#120](https://github.com/holoviz/colorcet/pull/120))
* Fix license description in about page. Issue 100. ([101](https://github.com/holoviz/colorcet/pull/101))
* Rename master to main ([102](https://github.com/holoviz/colorcet/pull/102))
* Update check to use matplotlib version instead of python version ([104](https://github.com/holoviz/colorcet/pull/104))
* General maintenance ([98](https://github.com/holoviz/colorcet/pull/98), [#97](https://github.com/holoviz/colorcet/pull/97), [#99](https://github.com/holoviz/colorcet/pull/99),[#111](https://github.com/holoviz/colorcet/pull/111), [#113](https://github.com/holoviz/colorcet/pull/113), [#117](https://github.com/holoviz/colorcet/pull/117))

Docs and Packaging:
* Create initial project gov docs ([105](https://github.com/holoviz/colorcet/pull/105))
* Load the README content into the package `long_description` ([107](https://github.com/holoviz/colorcet/pull/107))
* Update href to Rogowitz & Treinish 1996 ([112](https://github.com/holoviz/colorcet/pull/112))
* Replace Google Analytics with GoatCounter ([116](https://github.com/holoviz/colorcet/pull/116))

**Full Changelog**: https://github.com/holoviz/colorcet/compare/v3.0.1...v3.1.0

3.0.1

Minor release to improve compatibility with the Python ecosystem and remove deprecation warnings. Thanks to Kian-Meng Ang for docs and instructions fixes, Maxime Liquet for CI and docs fixes, and to Jim Bednar for docs updates, compatibility fixes, and coordinating the release.

- Update to work with matplotlib=3.6 (90)
- Fix holoviews opts deprecation warning (94)
- Add support for Python 3.10 (81)
- Remove windows 3.6 case from test suite due to lack of mamba support (94)
- Remove Param dependency (84)
- Improve installation instructions (92)

3.0.0

Major new release adding 23 new continuous colormaps from Peter Kovesi's upstream colorcet.m. The existing colormaps should all have the same names and values as in previous releases, and apart from a minor change to the type of Matplotlib categorical colormaps this release should be fully backwards compatible with previous releases.

Thanks to Randy Pittman for major improvements to the automated colormap definition code that allowed bringing in the new colormaps, to Maxime Liquet for CI and website fixes, and to Jim Bednar for docs updates, compatibility fixes, and coordinating the release.

New features:
- Added new upstream colormaps (65):
* Rainbow: `rainbow_bgyr_10_90_c83` (called `rainbow4`, a much closer match to Jet's color range than `rainbow` while remaining perceptually uniform)
* Linear: `linear_kbgoy_20_95_c57` (called `gouldian`, an [improved version of Matlab's parula colormap](https://colorcet.com/userguide/#gouldianparula)), `linear_kbgyw_10_98_c63`
* Cyclic: `circle_mgbm_67_c31`, `circle_mgbm_67_c31_s25`, `cyclic_bgrmb_35_70_c75`, `cyclic_bgrmb_35_70_c75_s25`, `cyclic_isoluminant`, `cyclic_mybm_20_100_c48`, `cyclic_mybm_20_100_c48_s25`, `cyclic_mygbm_50_90_c46`, `cyclic_mygbm_50_90_c46_s25`, `cyclic_rygcbmr_50_90_c64`, `cyclic_rygcbmr_50_90_c64_s25`, `cyclic_wrkbw_10_90_c43`, `cyclic_wrkbw_10_90_c43_s25`, `cyclic_ymcgy_60_90_c67`, `cyclic_ymcgy_60_90_c67_s25`
* Colorblind-safe: `diverging_linear_protanopic_deuteranopic_bjy_57_89_c34`, `linear_protanopic_deuteranopic_kbw_5_95_c34`, `linear_protanopic_deuteranopic_kyw_5_95_c49`, `linear_tritanopic_kcw_5_95_c22`, `linear_tritanopic_krw_5_95_c46`
- CI fixes and improvements, including testing for python 3.9 (71, 72, 75, 77)
- Clarified docs to indicate that all maps have an original list-of-numeric-triples form, typically but not always with a long name, that all those starting with `b_` are Bokeh colormaps in hex format, and that only the subset of shorter names that are aliases for longer names are Bokeh colormaps (as some other original list names like `glasbey_bw` just happen to be short (79)

Compatibility:
- For categorical (Glasbey) maps, now uses a Matplotlib ListedColormap (with distinct colors) instead of a LinearSegmentedColormap (discrete approximation to a continuous map) (79)

2.0.5

Minor release primarily to update PyPI classifier to show that the license is not proprietary. Also added some docstrings and usage examples, and updated the `swatch` function to work with both list and tuple colormaps.

2.0.2

Minor bugfix release; avoids registering Matplotlib colormaps twice.

2.0.1

Minor bugfix release:

- Fixed palette_n and cm_n to contain only the human-meaningful short names, not the CET_ variants.
- Updated website

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.