Closed
Description
Currently this argument does not have an effect when using geom_sf()
.
library("ggplot2")
nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
ggplot(nc) +
geom_sf(aes(fill = AREA)) +
scale_x_continuous(n.breaks = 2)
Created on 2021-09-18 by the reprex package (v2.0.1)