Description Usage Arguments Details Note Examples
set petgg as default [ggplot2] theme
1 |
base_size |
is a numeric, font size in pts. Default is |
base_family |
is a character, font family. Default is |
base_line_size |
is a numeric, base size for line elements. Default is |
base_rect_size |
is a numeric, base size for rect elements. Default is |
axis_title |
is a logical, |
legend_title |
is a logical, |
legend_position |
is a character, control legend position. Default is |
legend_direction |
is a character, "verical" or "horizontal". Default is |
palette, |
is a character vector, define the color palette. Hexadecimal format. |
load_font, |
is a logical, load font using extrafont package. Default is |
Always load the package after ggplot2
or tidyverse
More info https://ggplot2.tidyverse.org/reference/theme.html
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.