altair-extra-color-schemes
Additional named color schemes for Altair via a custom renderer.
Quickstart
Installation
Via pip:
pip install altair-extra-color-schemes
Via Pipenv:
pipenv install altair-extra-color-schemes
Via Poetry:
poetry add altair-extra-color-schemes
Via PDM:
pdm add altair-extra-color-schemes
Via Pyflow:
pyflow install altair-extra-color-schemes
Usage
import altair as alt
alt.renderers.enable("extra_color_schemes")
You can find some example charts in the demo.ipynb notebook.
Color schemes
| Color scheme name | Type | Source | Notes |
|---|---|---|---|
"dvs" |
Categorical | Data Visualization Standards (DVS) | "Featured Colors" and "Qualitative Colors" > "Example Palette" |
Development
Poetry (version 1.2.0)
Add new color schemes to the altair_extra_color_schemes/full_template.jinja file
poetry config virtualenvs.in-project truepoetry installpoetry run jupyter labpoetry run black demo.ipynbpoetry check
Deployment
poetry version minororpoetry version patchpoetry build
Notes
- djLint:
pipx install djlintdjlint altair_extra_color_schemes/template.jinja --checkdjlint altair_extra_color_schemes/template.jinja --reformatdjlint altair_extra_color_schemes/template.jinja --profile=jinjadjlint formatter.jinja --reformat --format-css --format-js
- Default color schemes
- DjHTML:
pipx install djhtmldjhtml -i formatter.html
- curlylint:
pipx install curlylintcurlylint altair_extra_color_schemes/full_template.jinja
- Cloudscape Design System (Figma file)
- Poetry:
pip --version- Nullish coalescing operator (??): Short-circuiting
Metadata
Release files for altair-extra-color-schemes 0.2.0
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 |
|---|---|---|---|---|
| altair-extra-color-schemes-0.2.0.tar.gz | 5.5 kB | Without provenance | Details for altair-extra-color-schemes-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| altair_extra_color_schemes-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for altair_extra_color_schemes-0.2.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / altair-extra-color-schemes-0.2.0.tar.gz
| Download URL | altair-extra-color-schemes-0.2.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74d97fa1cb6974699371a65240c9d9c3188c97702ef1d1c275d0052c5dab49f3
|
|
BLAKE2b-256 checksum How to use checksums |
8eca1b5e4892b98fe21b78f2ec63c65736f6fbebb014035b95a681689b35226f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / altair_extra_color_schemes-0.2.0-py3-none-any.whl
| Download URL | altair_extra_color_schemes-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28e2f14ae1449ea3cb177e9950b2674139d417fcb49c5dd5644aa8844cccd543
|
|
BLAKE2b-256 checksum How to use checksums |
f386cb5f04dfa4eb1b4f582ad51757ef6c4b8a3c472d78014344fc3980d0801a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for altair-extra-color-schemes 0.2.0
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.