{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics/2"}],"enrichment":{"capability":"cmap provides a collection of scientific colormaps (from matplotlib, cmocean, colorbrewer, crameri, seaborn, and others) that work with only numpy as a dependency, without requiring matplotlib.","skillfed_tags":["visualization","scientific-computing","color-management"],"use_cases":["Use it in a data visualization library that needs colormap support without forcing users to install matplotlib.","Use it to map scientific data (images, arrays) to colors in napari, vispy, or other visualization frameworks.","Use it to access perceptually uniform colormaps from cmocean or crameri in a lightweight, numpy-only context.","Use it to build custom colormaps from color sequences and export them to multiple third-party visualization tools.","Use it in headless or server-side applications where matplotlib's full feature set is unnecessary."],"what_it_does":"cmap is a lightweight Python library that bundles scientific colormaps from multiple sources\u2014matplotlib, cmocean, colorbrewer, crameri, seaborn, and others\u2014and makes them available without requiring matplotlib as a dependency. It provides two main objects: Color (a simple RGBA wrapper with conversion methods) and Colormap (a callable that maps scalar or array values to RGBA colors). The Colormap API mimics matplotlib's behavior, making it familiar to users already working with matplotlib, but cmap can be used standalone in any visualization context.\n\nThe library is designed for projects that need colormap functionality but want to avoid the overhead of installing matplotlib. It includes convenience methods to export colormaps to third-party formats compatible with napari, vispy, pygfx, plotly, bokeh, altair, earthengine-api, and pyqtgraph, making it a bridge between different visualization ecosystems. It requires only numpy at runtime and supports Python 3.9 and later.","worth_installing":"Yes. cmap is actively maintained, has no security vulnerabilities, a permissive license, and solves a real problem\u2014providing scientific colormaps without matplotlib's overhead. It is well-suited for projects that need colormap functionality but want minimal dependencies. Install it if you work with visualization libraries that support cmap exports or if you need colormaps in a lightweight, numpy-only environment."},"id":"cmap","links":{"html":"https://skillfed.io/packages/cmap","md":"https://skillfed.io/packages/cmap.md","pypi":"https://pypi.org/project/cmap/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-24","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"cmap","python_support":"supports_current","summary":"Scientific colormaps for python, without dependencies"},"popularity":{"monthly_downloads":161434,"position":10634,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.2"}
