Skip to content

Instantly share code, notes, and snippets.

Avatar

Dana Paige Seidel dpseidel

View GitHub Profile
@dpseidel
dpseidel / plygnedge_reprex
Created Aug 10, 2018
debugging the "polygon edge not found" error
View plygnedge_reprex
#### This is a script useful for debugging the very tricky, intermittent,
#### "polygon edge not found" error triggered in grid when using the RstudioGD and quartz devices
library(ggplot2)
#system info
getOption("bitmapType") # this needs to be quartz
getOption("device") # this needs to be RStudioGD
# blank plot
@dpseidel
dpseidel / default_aes.md
Last active Feb 12, 2021
Default ggplot2 aesthetics table
View default_aes.md

Default ggplot2 aesthetics by geom.

geom alpha angle colour family fill fontface height hjust lineheight linetype shape size stroke vjust weight width xmax xmin ymax ymin
GeomAbline NA black 1 0.5
GeomAnnotationMap NA NA grey20 1 0.5
GeomArea NA NA grey20 1 0.5
GeomBar NA NA grey35 1 0.