You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
theme_void() is a great way to clear out all the extra lines in a chart. My intuition was that this theme would remove to graticules from geom_sf() as well, but it doesn't. Do you think it should?
library(sf)
library(ggplot2)
nc<- st_read(system.file("gpkg/nc.gpkg", package="sf"))
ggplot(nc) +
geom_sf(data=nc, aes(fill=AREA)) +
theme_void()
# The actual way to remove graticules:
ggplot(nc) +
geom_sf(data=nc, aes(fill=AREA)) +
coord_sf(datum=NA) +
theme_void()