theme_canvas: Canvas Theme for ggplot2 Objects
Description
Add a canvas theme to the plot. The canvas theme by default has no margins and fills any empty canvas with a background color.
Usage
theme_canvas(x, background = NULL, margin = 0)
Value
A ggplot
object containing the artwork.
Arguments
- x
a ggplot2 object.
- background
a character specifying the color used for the empty canvas.
- margin
margins of the canvas.