Changes default theme and color scales for ggplot2.
Details
Theme is based on hrbrthemes::theme_ipsum_rc(), unless otherwise specified
in base_theme argument. The theme is further modified as follows:
Axis titles are centered
Legend title is omitted
Minor gridlines are omitted
Facet labels are placed outside axes
Various tweaks to text size and margins
Default color and fill palettes are set based on scale type:
For discrete scales,
RColorBrewerpalette "Set1," unless otherwise specified inbrewer_pal_discreteargumentFor continuous and binned scales,
RColorBrewerpalette "Blues"For ordinal scales,
viridisLitepalette "viridis"
Default font family for geom_text() and geom_label() is set to match
base_theme.
