altair-reveal

Reveal theme for Altair library


Keywords
python, altair, theme, cir, reveal, investigative
License
MIT
Install
pip install altair-reveal==0.0.3

Documentation

Reveal's Altair theme

A Reveal theme for altair.

With much gratitude to the Los Angeles Times.

Instructions

After setting up a Python virtualenv, install from PyPI:

% pip install altair-reveal

Import theme with Altair, then register and enable theme.

import altair as alt
import altair_reveal as reveal

alt.themes.register('reveal', reveal.theme)
alt.themes.enable('reveal')

View and use a (limited) color palette.

altair_reveal.palette

Examples

Check out the examples notebook for examples of charts, including customizations.

Fonts

System-wide 'Tenon' font installation required.