Cmasher

Latest version: v1.8.0

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

Scan your dependencies

Page 1 of 2

1.8.0

What's changed

This release brings a new utility function to cmasher to easily combine colormaps. See [our documentation](https://cmasher.readthedocs.io/user/usage.html#combine-colormaps).

- ENH: Add cmasher.combine_cmaps, by DanielYang59 in 122
- REL: prepare release 1.8.0, by neutrinoceros in 123

**Full Changelog:** https://github.com/1313e/CMasher/compare/v1.7.2...v1.8.0

1.7.2

What's Changed
* ENH: add stub file of cm.py and script that generates it, by beskep in https://github.com/1313e/CMasher/pull/112
* REL: release 1.7.2 by neutrinoceros in https://github.com/1313e/CMasher/pull/114


**Full Changelog**: https://github.com/1313e/CMasher/compare/v1.7.1...v1.7.2

1.7.1

What's Changed
* TST: ignore `__pycache__` in test generation by neutrinoceros in https://github.com/1313e/CMasher/pull/101
* ENH: slightly improve startup time by raising an exception early if viscm is installed/needed by neutrinoceros in https://github.com/1313e/CMasher/pull/100
* ENH: load colormaps from binaries instead of text files by neutrinoceros in https://github.com/1313e/CMasher/pull/102
* ENH: reduce startup overhead from colormap registrations by skipping type heuristics and runtime sanity checks for builtin maps by neutrinoceros in https://github.com/1313e/CMasher/pull/103
* TST: add doc build to CI, move dev requirement files to dedicated folder by neutrinoceros in https://github.com/1313e/CMasher/pull/104
* TYP: run type checking as part of CI by neutrinoceros in https://github.com/1313e/CMasher/pull/105
* DOC: fix broken GHA badge by neutrinoceros in https://github.com/1313e/CMasher/pull/106
* REL: prepare release 1.7.1 by neutrinoceros in https://github.com/1313e/CMasher/pull/107

**Full Changelog**: https://github.com/1313e/CMasher/compare/v1.7.0...v1.7.1

1.7.0

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

* GitHub Action to lint Python code by cclauss in https://github.com/1313e/CMasher/pull/39
* ENH: future proof against matplotlib's evolving API by neutrinoceros in https://github.com/1313e/CMasher/pull/44
* MNT: migrate setup.cfg -> pyproject.toml by neutrinoceros in https://github.com/1313e/CMasher/pull/55
* MNT: drop support for EOL Python versions 3.6 and 3.7 by neutrinoceros in https://github.com/1313e/CMasher/pull/56
* MNT: fixup codespell check by neutrinoceros in https://github.com/1313e/CMasher/pull/57
* MNT: enable dependabot by neutrinoceros in https://github.com/1313e/CMasher/pull/59
* MNT: migrate linting and formatting to pre-commit + ruff by neutrinoceros in https://github.com/1313e/CMasher/pull/60
* STY: autofixes (ruff) by neutrinoceros in https://github.com/1313e/CMasher/pull/61
* MNT: upgrade GHA by neutrinoceros in https://github.com/1313e/CMasher/pull/62
* MNT: temporarily deactivate cross-plateform CI by neutrinoceros in https://github.com/1313e/CMasher/pull/64
* MNT: exclude new dev-only files in MANIFEST.in by neutrinoceros in https://github.com/1313e/CMasher/pull/63
* TST: add color to pytest output in CI by neutrinoceros in https://github.com/1313e/CMasher/pull/65
* TST: fix utility tests by neutrinoceros in https://github.com/1313e/CMasher/pull/66
* STY: manually fix remaining ruff violations by neutrinoceros in https://github.com/1313e/CMasher/pull/67
* STY: fix EOF by neutrinoceros in https://github.com/1313e/CMasher/pull/
* STY: apply ruff-format by neutrinoceros in https://github.com/1313e/CMasher/pull/69
* STY: fix trailing whitespaces by neutrinoceros in https://github.com/1313e/CMasher/pull/95
* MNT: fix bandit pre-commit hook by neutrinoceros in https://github.com/1313e/CMasher/pull/71
* MNT: prettify yaml files by neutrinoceros in https://github.com/1313e/CMasher/pull/72
* MNT: fixup codespell pre-commit hook by neutrinoceros in https://github.com/1313e/CMasher/pull/73
* MNT: temporarily disable safety check by neutrinoceros in https://github.com/1313e/CMasher/pull/75
* DEP: bump minimal requirements on matplotlib 3.5 and numpy 1.17.3 by neutrinoceros in https://github.com/1313e/CMasher/pull/76
* API: remove deprecated colormap alias (heat -> torch) by neutrinoceros in https://github.com/1313e/CMasher/pull/77
* DEP: drop dependency on e13tools (broken on Python 3.12) by neutrinoceros in https://github.com/1313e/CMasher/pull/78
* MNT: fix deprecation warnings from matplotlib by neutrinoceros in https://github.com/1313e/CMasher/pull/79
* TST: test against matplotlib/viscm instead of fork by neutrinoceros in https://github.com/1313e/CMasher/pull/80
* BUG: fix a future warning from numpy (avoid iterating over scalar array) by neutrinoceros in https://github.com/1313e/CMasher/pull/81
* TST: treat warnings as errors by neutrinoceros in https://github.com/1313e/CMasher/pull/74
* MNT: drop support for Python 3.8 by neutrinoceros in https://github.com/1313e/CMasher/pull/83
* TST: add explicit support for Python 3.10 to 3.12 by neutrinoceros in https://github.com/1313e/CMasher/pull/82
* TST: drop support for Windows x86 (32 bits arch) by neutrinoceros in https://github.com/1313e/CMasher/pull/85
* TST: re-enable tests on Windows and MacOS by neutrinoceros in https://github.com/1313e/CMasher/pull/84
* MNT: cleanup unused requirement by neutrinoceros in https://github.com/1313e/CMasher/pull/87
* MNT: bump minimal requirement for numpy by neutrinoceros in https://github.com/1313e/CMasher/pull/88
* BUG: fix compatibility with matplotlib 3.5 by neutrinoceros in https://github.com/1313e/CMasher/pull/89
* ENH: delay expensive imports by neutrinoceros in https://github.com/1313e/CMasher/pull/90
* TST: test against minimal env by neutrinoceros in https://github.com/1313e/CMasher/pull/86
* MNT: stop linting with flake8 (ruff is already doing the job) by neutrinoceros in https://github.com/1313e/CMasher/pull/91
* TST: simplify pytest runs by neutrinoceros in https://github.com/1313e/CMasher/pull/92
* TST: separate publication-related tasks from normal tests by neutrinoceros in https://github.com/1313e/CMasher/pull/93
* REL: prepare release 1.7.0 by neutrinoceros in https://github.com/1313e/CMasher/pull/94
* REL: release 1.7.0 by neutrinoceros in https://github.com/1313e/CMasher/pull/95


New Contributors
* cclauss made their first contribution in https://github.com/1313e/CMasher/pull/39
* neutrinoceros made their first contribution in https://github.com/1313e/CMasher/pull/44

**Full Changelog**: https://github.com/1313e/CMasher/compare/v1.6.0...v1.7.0

1.6.0

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

1.5.0

*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.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.