BSD Ports

misc/py-cmap 0.5.0 DragonFly

Scientific colormaps for python, without dependencies

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
misc, python
Package size
1673.0 KiB, 9673.6 KiB installed

Description

cmap is a work-in-progress colormap library for python, providing all of the colormaps in matplotlib, vispy, cmocean, (and more), with no dependencies beyond numpy.

Mapping scalar values to colors is a very common procedure in scientific visualization; as such, many visualization libraries (e.g. matplotlib, vispy, napari, etc...) have some need for and some internal representation of colors and colormaps.

In the other systems

SystemPortVersion
DragonFlymisc/py-cmap0.5.0
FreeBSDmisc/py-cmap0.7.2

Install

Binary package:

pkg install py311-cmap

From DPorts:

cd /usr/dports/misc/py-cmap && make install clean

Dependencies

Run dependencies 2

No port depends on this one.