Skip to contents

A race frame paints its own title, axis, timeline and footer as layers in one canvas coordinate system, so the theme only has to supply the page color and get everything else out of the way.

Usage

theme_race(page = race_ink$page)

Arguments

page

Background color of the page behind the card.

Value

A ggplot2::theme object.

Examples

library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_race()