Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 746 Bytes

readme.md

File metadata and controls

39 lines (23 loc) · 746 Bytes

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.