cmocean
cmocean copied to clipboard
Colormap setup for standardizing commonly-plotting oceanographic variables.
I have cmocean 2.0 installed in a python 3.7 environment under Miniconda. The "pip install cmocean[plots]" trick does not carry over to conda, i.e. "conda install cmocean[plots]" has exactly the...
List of changes: - prettified by `prettier -w .` - update install instruction into code block for easy copy and paste in Markdown - use `python -m pip` installation method,...
Just wanted to warn you about the pending deprecation of some functions in the `matplotlib.cm` namespace that are used in cmocean, like `register_cmap` https://github.com/matplotlib/matplotlib/pull/23668 If it's any help, here's the...
I went with the option of adding the function `invert_lightness` to `cmocean.tools`, since having more than just an _r subscript on colormaps would be confusing. This solution does require adding...
I am hoping to get some thoughts on adding functionality for cmocean colormaps with inverted lightness. Here is an example of what this looks like:  This functionality is included...
Dear cmocean community, Apologies, this is a rather long text. My work involves plotting maps of sea ice. Because it is easily available and scientific, I have been using cmocean's...
Hi, I've noticed the wrong version number set for `__version__` in `__init.py__`. One solution would be to use `importlib.metadata.version('cmocean')` to always the correct version number taken from the `setup.py`. If...
Hi, This might be deliberate but it seems that the submodule `plots` is not imported in the `__init__.py` but is included in `__all__`. I can see there are some optional...
Hello, Apologies, this is more of a discussion than an issue but I didn't know where else to ask. tl;dr: Would it be meaningful to create a version of the...
I was chasing a red-herring due to a bad pinned version in an environment and ended up adding more Pythons to the test matrix here. No need code, just boilerplate...