from plotnine import ggplot, geom_point, aes, labs, theme_bw
from plotnine.data import mtcars plotnine.theme_bw
theme_bw(base_size=11, base_family=None)White background with black gridlines
Parameters
base_size : int = 11-
Base font size. All text sizes are a scaled versions of the base font size.
base_family : str = None-
Base font family. If
None, useplotnine.options.base_family.
