plotnine.theme_xkcd
theme_xkcd(=12,
base_size=1,
scale=100,
length=2,
randomness=3,
stroke_size="white"
stroke_color )
xkcd theme
Parameters
base_size : int = 12
-
Base font size. All text sizes are a scaled versions of the base font size.
scale : float = 1
-
The amplitude of the wiggle perpendicular to the line (in pixels)
length : float = 100
-
The length of the wiggle along the line (in pixels).
randomness : float = 2
-
The factor by which the length is randomly scaled. Default is 2.
stroke_size : float = 3
-
Size of the stroke to apply to the lines and text paths.
stroke_color : str | tuple = "white"
-
Color of the strokes. Use
"none"
for no color.