Skip to content

Releases: 1313e/CMasher

v1.8.0

19 Feb 07:28
Compare
Choose a tag to compare

What's changed

This release brings a new utility function to cmasher to easily combine colormaps. See our documentation.

Full Changelog: v1.7.2...v1.8.0

v1.7.2

25 Dec 14:53
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.1...v1.7.2

v1.7.1

19 Dec 17:13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v1.7.1

v1.7.0

18 Dec 07:45
4bb8217
Compare
Choose a tag to compare

Highlights

  • This is the first release by CMasher's new maintainer @neutrinoceros
  • Python 3.9 to 3.12 is supported
  • Deprecation warnings triggered with current Matplotlib versions (3.5 -> 3.8) were resolved
  • The deprecated colormap alias "heat" was removed. The colormap is still available as "torch"

Dependencies

  • Python 3.9 or newer is now required
  • Matplotlib 3.5 or newer is now required
  • Numpy 1.19.3 or newer is now required
  • e13tools was dropped as a dependency

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

06 Apr 02:51
dd1b6f7
Compare
Choose a tag to compare

This is the v1.6.0 release of the CMasher package.

New additions/changes since v1.5.0:

  • Removed support for Python 3.5;
  • Added support for Python 3.9;
  • Added the amethyst; cosmic; lilac; neon; sepia; tree and tropical sequential colormaps;
  • Added the guppy and seaweed diverging colormaps;
  • Added the emergency and infinity cyclic colormaps;
  • Remade the seasons diverging colormap into a cyclic colormap;
  • Remade the gem sequential colormap into a [15, 85] version;
  • Modified flamingo slightly to include more pink;
  • Added ability to turn off the greyscale versions of all colormaps in the colormap overviews;
  • Added option to scale the dimensions of the colormap subplots in the colormap overviews;
  • Added a dark_mode option to create_cmap_overview;
  • Added ability to make qualitative colormaps from existing colormaps (#28);
  • Added tutorial to docs on how to use CMasher colormaps in R (#26);
  • Colormaps can now be imported/registered using their HEX-code values;
  • Colormaps are now also available using their normalized RGB values in the individual colormap folders;
  • Added an application overview of all colormaps to the 'Usage' section in the online docs, which can be used to easily see what a colormap looks like when used in a realistic way.

v1.5.0

11 Aug 04:55
942cd9c
Compare
Choose a tag to compare

This is the v1.5.0 release of the CMasher package.

New additions/changes:

  • Dropped Python 2.7 support;
  • Added the wildfire; and toxic colormaps;
  • Renamed old wildfire to seasons;
  • Added the sort=None argument to create_colormap_overview to allow for the colormaps to retain their current order;
  • Added the title argument to create_colormap_overview to set the title that is used in the overview;
  • Added a set of CLI tools that allow for some utility functions to be accessed from the command-line with cmr;
  • Changed the take_cmap_colors function to allow for all colors in a specific range to be returned with N=None;
  • Added the create_cmap_mod function that can create stand-alone Python modules of CMasher colormaps.

v1.4.0

20 Jul 10:18
4770ca1
Compare
Choose a tag to compare

This is the v1.4.0 release of the CMasher package.

New additions/changes:

  • Added the bubblegum; fall; pepper; swamp; watermelon; and wildfire colormaps;
  • Reworked the dusk colormap into a [0, 85] sequential colormap;
  • Reworked the horizon colormap into a [20, 100] sequential colormap;
  • Reworked the nuclear colormap into a [0, 90] sequential colormap;
  • Revamped the online documentation to create separate webpages for each colormap;
  • Online documentation now includes examples of each utility function that CMasher has;
  • Added the get_sub_cmap; set_cmap_legend_entry; and take_cmap_colors functions;
  • Split off the registration part of the import_cmaps function into the register_cmap function;
  • Converted the _get_cm_type function into the public get_cmap_type function;
  • Added 8-bit RGB text-files of each colormap to the appropriate colormap directory;
  • Added stand-alone Python modules of each colormap as well;
  • The create_cmap_overview function now treats diverging colormaps differently when sorting on their lightness profiles (takes central value instead of starting value).

v1.3.0

01 Apr 02:23
9ce5d00
Compare
Choose a tag to compare

This is the v1.3.0 release of the CMasher package.

New additions:

  • Added the ocean; pride; savanna; and viola colormaps;
  • Added the get_bibtex function to retrieve the BibTeX entry of the CMasher paper;
  • Added the 'plot_profile' argument to the create_cmap_overview function.
    When set to True, the created overview will contain the lightness profile of the colormaps plotted on top of their grey-scale versions.
    This allows for more in-depth information on the performance of a colormap.

Bugfixes:

  • Fixed a bug where diverging colormaps with plateaus in the center of their lightness profiles, would be flagged as 'misc'.

Changes/Optimizations:

  • Made several optimizations to the create_cmap_overview function to allow it to be efficiently saved as an SVG-file (saving as SVG will now result in a much smaller file size than its PNG equivalent, despite being of a higher quality);
  • Made several QoL changes to the online docs, including saving the colormap images as SVG-files to make them faster to load on mobile (using the aforementioned optimizations);
  • As my modified version of viscm contains a fix allowing it to handle diverging colormaps better, replaced the dual source files of all diverging colormaps with single files.

v1.2.2

04 Feb 23:32
cfafd6c
Compare
Choose a tag to compare

This is the first official release of the CMasher package, to accommodate for the submission of the JOSS paper.