Skip to main content

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

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)

Source distribution for altair-extra-color-schemes 0.2.0
File Size Uploaded
altair-extra-color-schemes-0.2.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for altair-extra-color-schemes 0.2.0
File Interpreter ABI Platform
altair_extra_color_schemes-0.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page