Skip to main content

Additional named color schemes for Altair via a custom renderer.

Project description

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 true
  • poetry install
  • poetry run jupyter lab
  • poetry run black demo.ipynb
  • poetry check

Deployment

  • poetry version minor or poetry version patch
  • poetry build

Notes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

altair-extra-color-schemes-0.2.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file altair-extra-color-schemes-0.2.0.tar.gz.

File metadata

File hashes

Hashes for altair-extra-color-schemes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 74d97fa1cb6974699371a65240c9d9c3188c97702ef1d1c275d0052c5dab49f3
MD5 ce351bf57f6b86635aad6bff0fad2e58
BLAKE2b-256 8eca1b5e4892b98fe21b78f2ec63c65736f6fbebb014035b95a681689b35226f

See more details on using hashes here.

File details

Details for the file altair_extra_color_schemes-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for altair_extra_color_schemes-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28e2f14ae1449ea3cb177e9950b2674139d417fcb49c5dd5644aa8844cccd543
MD5 b9cc9a80942594dc00a9aa93bfa06e68
BLAKE2b-256 f386cb5f04dfa4eb1b4f582ad51757ef6c4b8a3c472d78014344fc3980d0801a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page