Skip to content

Releases: Descanonge/tol_colors

v2.1.0

21 Jul 09:41

Choose a tag to compare

What's Changed

  • Fix Paul Tol website url @marijane in #2
  • Colormaps mapping returns copies
  • Fix __main__ invocation
  • Use SCM for version

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0.post1

27 May 17:27

Choose a tag to compare

  • Fix readme for PyPI: absolute links, images, footnotes

Full Changelog: v2.0.0...v2.0.0.post1

v2.0.0

02 May 17:38

Choose a tag to compare

  • 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

11 Apr 16:02

Choose a tag to compare

  • 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

22 Dec 13:10

Choose a tag to compare

  • Added two new functions: tol_color.get_colorset and tol_color.get_colormap with more sensible naming, as well as scricter typing (they do not return a list of available options). tol_cset and tol_cmap are 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

23 Sep 15:41

Choose a tag to compare

  • Fix warning messages

v1.2.0

18 May 17:28

Choose a tag to compare

  • 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

13 Jan 10:47

Choose a tag to compare

  • Fix install requirements

v1.0.1

13 Jan 10:29

Choose a tag to compare

Use 'is None' instead of equality