theme_void() is a function to create a plot with a completely blank (or "void") background. It removes all elements from the plot, leaving the geometry only.
import pandas as pd
from lets_plot import *
LetsPlot.setup_html()
mpg_df = pd.read_csv("https://raw.githubusercontent.com/JetBrains/lets-plot-docs/master/data/mpg.csv")
mpg_df.head(3)
p = ggplot(mpg_df) + geom_pie(aes(fill='class', weight='displ'))
p
Apply theme_void():
p + theme_void()
Faceted plot:
p + facet_grid(x='year') + theme_void()