contrib_colormaps: User-contributed colormaps
| Build Status | |
| Latest dev release | |
| Latest release | |
| Docs |
What is it?
contrib_colormaps is a collection of user-contributed colormaps for use with Python plotting programs such as Bokeh, Matplotlib, HoloViews, and Datashader.
Installation
contrib_colormaps supports Python 2.7, 3.5, 3.6 and 3.7 on Linux, Windows, or Mac and can be installed with conda from the pyviz channel:
conda install -c pyviz contrib_colormaps
or with pip:
pip install contrib_colormaps
Contributing
To add a colormap, open a pull request on this repository adding the following files:
-
comma-separated file of RGB values to the contrib_colormaps/colormaps directory. This file should look like:
0, 0.20755, 0.97632 0, 0.22113, 0.96201 -
A Jupyter notebook in examples/colormaps meeting the following criteria:
- a name that matches the name of the csv
e.g. for a new colormap called
rainforestwith a csv rainforest.csv there should be a corresponding rainforest.ipynb - an explanation of the colormap - what is it? and when/why would someone use it?
- a swatch of the colormap - we recommend using our swatch function, but it's not required
- at least one example plot using the colormap - it can be exclusively Bokeh, Matplotlib, or Holoviews
The notebook should be cleared of all outputs. To use the UI, click Cell -> All Outputs -> Clear
OR clear them automatically on commit using the predefined git hook. From within the cloned repository, run:
git config core.hooksPath .githooks
- a name that matches the name of the csv
e.g. for a new colormap called
-
A pytest-mpl baseline image for tests. To create this image first install pytest-mpl:
pip install pytest-mpl
Then generate the figure from within the tests directory run:
pytest --mpl-generate-path=baseline
See examples/colormaps for more details.
Sample Pull Request
You can use this sample pull request as a model: #3
About PyViz
contrib_colormaps is part of the PyViz initiative for making Python-based visualization tools work well together. See pyviz.org.
Metadata
Release files for contrib-colormaps 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| contrib_colormaps-0.0.1.tar.gz | 32.0 kB | Without provenance | Details for contrib_colormaps-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| contrib_colormaps-0.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for contrib_colormaps-0.0.1-py2.py3-none-any.whl |
Total release size: 47.3 kB
Release files / contrib_colormaps-0.0.1.tar.gz
| Download URL | contrib_colormaps-0.0.1.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6dbd91a130ce25cc4deb1323aa2f38cef478879f74e6f87f8f9f95729f3d1d6
|
|
BLAKE2b-256 checksum How to use checksums |
3c8a676c60a5aa04b026ecd5fea63b4ec3975378486b3d5bb0c0421656d39cad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.1
|
Release files / contrib_colormaps-0.0.1-py2.py3-none-any.whl
| Download URL | contrib_colormaps-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
05aad652321deb7f048c9dbbc405a2338871fed0ded4072a38c202292126b691
|
|
BLAKE2b-256 checksum How to use checksums |
edd9597cdeb3bf5ce6088817338e4dc5ab1610d33f24ec0df819842533d557c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.1
|
Security for contrib-colormaps 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.