R/ggplot-theme.R

Defines functions my_theme

# load libraries
library("ggplot2")
library("viridis")

# define graphics theme
my_theme = function(legend.position='right'){
  theme_bw() %+replace%
    theme(legend.position=legend.position)
}

theme_set(my_theme())


default_color = "azure4"
christophM/interpretable-ml-book documentation built on March 10, 2024, 10:34 a.m.