Skip to contents

A ggplot theme with minimal fluff and with the defaults set small.

Usage

gg_tiny_theme(baseSize = 8, font = "Roboto")

Arguments

baseSize

the size of the base font.

font

the font family name

Value

a ggplot theme

Examples

if (interactive()) {
  ggplot2::ggplot(ggplot2::diamonds,
    ggplot2::aes(x=carat,y=price,color=color))+
    ggplot2::geom_point()+
    gg_tiny_theme()
}