Releases: Descanonge/tol_colors
Releases · Descanonge/tol_colors
v2.1.0
v2.0.0.post1
- Fix readme for PyPI: absolute links, images, footnotes
Full Changelog: v2.0.0...v2.0.0.post1
v2.0.0
- Change access: use dictionaries rather than functions and make colorsets and colormaps accessible as
module attributes. Discrete rainbow has its own dedicated function. - Discrete colormaps are now ListedColormaps
- Register colormaps in matplotlib with "tol." prefix
- Put color data in separate json file
- Add function to automatically change Matplotlib defaults colors.
- Add documentation
- Add basic tests
- Fix WhOrBr not being available as discrete
Full Changelog: v1.4.0...v2.0.0
v1.4.0
- Update technical note document in /docs
- Add "land-cover" colorset
- Breaking: Remove "black" color in colorsets, except for high-constrast and medium-contrast where "white" is also added.
- Update readme to directly showcase the sets
Full Changelog: v1.3.0...v1.4.0
v1.3.0
- Added two new functions:
tol_color.get_colorsetandtol_color.get_colormapwith more sensible naming, as well as scricter typing (they do not return a list of available options).tol_csetandtol_cmapare still available. - The package is now type hinted, that will allow type checkers to check named-tuple attributes.
- The showcase is now accessible with
python -m tol_colors, and the colorsets showcase has been upgraded. - Refactored the colorsets and maps generation, making it easier to extend or modify, just in case. It also avoids global variables.
- Updated to a pyproject file. No change to the package building, except for the removal of the additional json file containing colorset data.
Full Changelog: v1.2.1...v1.3.0
v1.2.1
- Fix warning messages
v1.2.0
- Add medium-contrast, pale, and dark schemes.
- Refactoring: now package instead of module, colorsets are stored in a cleaner data file.
- Cleaner warnings
v1.0.2
- Fix install requirements
v1.0.1
Use 'is None' instead of equality