-
Notifications
You must be signed in to change notification settings - Fork 2.1k
sf graticules are drawn even if relevant theme elements are set to element_blank() #2525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Duplicate of #2389 |
I can confirm that this problem still exists in the current github master. I'm reopening the issue. library(sf)
#> Linking to GEOS 3.6.1, GDAL 2.1.3, proj.4 4.9.3
library(ggplot2)
nc <- st_read(system.file("gpkg/nc.gpkg", package = "sf"), quiet = TRUE)
ggplot(nc) +
geom_sf(data = nc, aes(fill = AREA)) +
theme_void() Created on 2018-09-24 by the reprex package (v0.2.0). |
clauswilke
added a commit
to wilkelab/ggplot2_archive
that referenced
this issue
Feb 1, 2019
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 fromgeom_sf()
as well, but it doesn't. Do you think it should?Here's a

theme_void
map of North Carolina:And here's what I expected, with no graticule:

Ref: #2071
The text was updated successfully, but these errors were encountered: