list(Geom = structure(list(), .Names = character(0), class = "uneval"),
GeomAbline = structure(list(colour = "black", size = 0.5,
linetype = 1, alpha = NA), class = "uneval"), GeomAnnotationMap = structure(list(
colour = "NA", fill = "grey20", size = 0.5, linetype = 1,
alpha = NA, subgroup = NULL), class = "uneval"), GeomArea = structure(list(
colour = NA, fill = "grey20", size = 0.5, linetype = 1,
alpha = NA), class = "uneval"), GeomBar = structure(list(
colour = NA, fill = "grey35", size = 0.5, linetype = 1,
alpha = NA), class = "uneval"), GeomBlank = structure(list(), .Names = character(0), class = "uneval"),
GeomBoxplot = structure(list(weight = 1, colour = "grey20",
fill = "white", size = 0.5, alpha = NA, shape = 19, linetype = "solid"), class = "uneval"),
GeomCol = structure(list(colour = NA, fill = "grey35", size = 0.5,
linetype = 1, alpha = NA), class = "uneval"), GeomContour = structure(list(
weight = 1, colour = "#3366FF", size = 0.5, linetype = 1,
alpha = NA), class = "uneval"), GeomContourFilled = structure(list(
colour = "NA", fill = "grey20", size = 0.5, linetype = 1,
alpha = NA, subgroup = NULL), class = "uneval"), GeomCrossbar = structure(list(
colour = "black", fill = NA, size = 0.5, linetype = 1,
alpha = NA), class = "uneval"), GeomCurve = structure(list(
colour = "black", size = 0.5, linetype = 1, alpha = NA), class = "uneval"),
GeomCustomAnn = structure(list(xmin = -Inf, xmax = Inf, ymin = -Inf,
ymax = Inf), class = "uneval"), GeomDensity = list(fill = NA,
weight = 1, colour = "black", alpha = NA, size = 0.5,
linetype = 1), GeomDensity2d = structure(list(colour = "#3366FF",
size = 0.5, linetype = 1, alpha = NA), class = "uneval"),
GeomDensity2dFilled = structure(list(colour = "NA", fill = "grey20",
size = 0.5, linetype = 1, alpha = NA, subgroup = NULL), class = "uneval"),
GeomDotplot = structure(list(colour = "black", fill = "black",
alpha = NA, stroke = 1, linetype = "solid"), class = "uneval"),
GeomErrorbar = structure(list(colour = "black", size = 0.5,
linetype = 1, width = 0.5, alpha = NA), class = "uneval"),
GeomErrorbarh = structure(list(colour = "black", size = 0.5,
linetype = 1, height = 0.5, alpha = NA), class = "uneval"),
GeomFunction = structure(list(colour = "black", size = 0.5,
linetype = 1, alpha = NA), class = "uneval"), GeomHex = structure(list(
colour = NA, fill = "grey50", size = 0.5, linetype = 1,
alpha = NA), class = "uneval"), GeomHline = structure(list(
colour = "black", size = 0.5, linetype = 1, alpha = NA), class = "uneval"),
GeomLabel = structure(list(colour = "black", fill = "white",
size = 3.88, angle = 0, hjust = 0.5, vjust = 0.5, alpha = NA,
family = "", fontface = 1, lineheight = 1.2), class = "uneval"),
GeomLine = structure(list(colour = "black", size = 0.5, linetype = 1,
alpha = NA), class = "uneval"), GeomLinerange = structure(list(
colour = "black", size = 0.5, linetype = 1, alpha = NA), class = "uneval"),
GeomLogticks = structure(list(colour = "black", size = 0.5,
linetype = 1, alpha = 1), class = "uneval"), GeomMap = structure(list(
colour = "NA", fill = "grey20", size = 0.5, linetype = 1,
alpha = NA, subgroup = NULL), class = "uneval"), GeomPath = structure(list(
colour = "black", size = 0.5, linetype = 1, alpha = NA), class = "uneval"),
GeomPoint = structure(list(shape = 19, colour = "black",
size = 1.5, fill = NA, alpha = NA, stroke = 0.5), class = "uneval"),
GeomPointrange = structure(list(colour = "black", size = 0.5,
linetype = 1, shape = 19, fill = NA, alpha = NA, stroke = 1), class = "uneval"),
GeomPolygon = structure(list(colour = "NA", fill = "grey20",
size = 0.5, linetype = 1, alpha = NA, subgroup = NULL), class = "uneval"),
GeomQuantile = list(weight = 1, colour = "#3366FF", size = 0.5,
linetype = 1, alpha = NA), GeomRaster = structure(list(
fill = "grey20", alpha = NA), class = "uneval"), GeomRasterAnn = structure(list(),
.Names = character(0), class = "uneval"),
GeomRect = structure(list(colour = NA, fill = "grey35", size = 0.5,
linetype = 1, alpha = NA), class = "uneval"), GeomRibbon = structure(list(
colour = NA, fill = "grey20", size = 0.5, linetype = 1,
alpha = NA), class = "uneval"), GeomRug = structure(list(
colour = "black", size = 0.5, linetype = 1, alpha = NA), class = "uneval"),
GeomSegment = structure(list(colour = "black", size = 0.5,
linetype = 1, alpha = NA), class = "uneval"), GeomSf = structure(list(
shape = NULL, colour = NULL, fill = NULL, size = NULL,
linetype = 1, alpha = NA, stroke = 0.5), class = "uneval"),
GeomSmooth = structure(list(colour = "#3366FF", fill = "grey60",
size = 1, linetype = 1, weight = 1, alpha = 0.4), class = "uneval"),
GeomSpoke = structure(list(colour = "black", size = 0.5,
linetype = 1, alpha = NA), class = "uneval"), GeomStep = structure(list(
colour = "black", size = 0.5, linetype = 1, alpha = NA), class = "uneval"),
GeomText = structure(list(colour = "black", size = 3.88,
angle = 0, hjust = 0.5, vjust = 0.5, alpha = NA, family = "",
fontface = 1, lineheight = 1.2), class = "uneval"), GeomTile = structure(list(
fill = "grey20", colour = NA, size = 0.1, linetype = 1,
alpha = NA, width = NA, height = NA), class = "uneval"),
GeomViolin = structure(list(weight = 1, colour = "grey20",
fill = "white", size = 0.5, alpha = NA, linetype = "solid"), class = "uneval"),
GeomVline = structure(list(colour = "black", size = 0.5,
linetype = 1, alpha = NA), class = "uneval")) -> .ggplot2_default_aes

#' Restore all ggplot2 geom to default aesthetics
#'
#' @export
reset_ggplot2_defaults <- function() {

  for (geom in names(.ggplot2_default_aes)) {
    ggplot2::update_geom_defaults(
      geom = get(geom), .ggplot2_default_aes[[geom]]
    )
  }

}