Style Altair Plots
This guide addresses how to style Altair plots displayed using the Vega pane.
You can select the theme of Altair plots using altair.themes.enable
and an accent color using the configure_mark
method. The list of themes is available via altair.themes.names()
.
The gif below displays an example of what can be achieved with a little styling of the Altair plot and the FastListTemplate
.
An Altair plot with custom theme and accent color
In this example we will give the Altair plot a custom theme and accent color.
Please note that the line alt.theme.enable(theme)
will set the theme of all future generated plots unless you specifically change it before usage in a Vega
pane.