A Reveal theme for altair.
With much gratitude to the Los Angeles Times.
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
Check out the examples
notebook for examples of charts, including customizations.
System-wide 'Tenon' font installation required.