File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 22
33[ ![ PyPI] ( https://img.shields.io/pypi/v/cmyt.svg?logo=pypi&logoColor=white&label=PyPI )] ( https://pypi.org/project/cmyt )
44[ ![ Conda Version] ( https://img.shields.io/conda/vn/conda-forge/cmyt.svg?logo=condaforge&logoColor=white )] ( https://anaconda.org/conda-forge/cmyt )
5- [ ![ Supported Python Versions] ( https://img.shields.io/pypi/pyversions/cmyt?v1.1.1 &logo=python&logoColor=white&label=Python )] ( https://pypi.org/project/cmyt/ )
5+ [ ![ Supported Python Versions] ( https://img.shields.io/pypi/pyversions/cmyt?v1.1.2 &logo=python&logoColor=white&label=Python )] ( https://pypi.org/project/cmyt/ )
66
77[ ![ CI] ( https://github.com/yt-project/cmyt/actions/workflows/ci.yml/badge.svg )] ( https://github.com/yt-project/cmyt/actions/workflows/ci.yml )
88[ ![ CI (bleeding edge)] ( https://github.com/yt-project/cmyt/actions/workflows/bleeding-edge.yaml/badge.svg )] ( https://github.com/yt-project/cmyt/actions/workflows/bleeding-edge.yaml )
Original file line number Diff line number Diff line change 11from .cm import *
22
3- __version__ = "1.1.1 "
3+ __version__ = "1.1.2 "
Original file line number Diff line number Diff line change @@ -95,7 +95,9 @@ def _register_mpl_cmap(cmap: Colormap) -> None:
9595 if MPL_VERSION >= (3 , 5 , 0 ):
9696 matplotlib .colormaps .register (cmap )
9797 else :
98- matplotlib .cm .register_cmap (cmap = cmap )
98+ from matplotlib .cm import register_cmap
99+
100+ register_cmap (cmap = cmap )
99101
100102
101103def register_colormap (
Original file line number Diff line number Diff line change 11[metadata]
22name = cmyt
3- version = 1.1.1
3+ version = 1.1.2
44description = A collection of Matplotlib colormaps from the yt project
55long_description = file: README.md
66long_description_content_type = text/markdown
You can’t perform that action at this time.
0 commit comments