Unmap data from pseudocolor images, with knowledge of the colourmap for now, but the goal is to drop this requirement.
in other words, this library is the opposite of plt.imshow()
.
You can install this package with pip
:
pip install unmap
There are dev
, test
and docs
options for installing dependencies for those purposes, eg pip install unmap[dev]
.
Read the documentation, especially the examples.
Take a look at CONTRIBUTING.md
.
You can run the tests (requires pytest
and pytest-cov
) with
pytest
This repo uses PEP 517-style packaging. Read more about this and about Python packaging in general.
Building the project requires build
, so first:
pip install build
Then to build unmap
locally:
python -m build
The builds both .tar.gz
and .whl
files, either of which you can install with pip
.