Skip to content

Make clipping configurable in coord_sf(). #2942

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

Merged
merged 1 commit into from
Oct 23, 2018

Conversation

clauswilke
Copy link
Member

This PR closes #2938.

Example:

library(ggplot2)

nc <- sf::st_read(system.file("shape/nc.shp", package = "sf"), quiet = TRUE)
p <- ggplot(nc) +
  geom_sf(aes(fill = AREA)) +
  geom_text(x = -80, y = 37, label = "label outside limits", inherit.aes = FALSE)

p

p + coord_sf(clip = "off")

Created on 2018-10-15 by the reprex package (v0.2.1)

@hadley hadley merged commit 01f0277 into tidyverse:master Oct 23, 2018
@clauswilke clauswilke deleted the issue-2938-coord_sf-clip branch November 15, 2018 21:37
@lock
Copy link

lock bot commented May 14, 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/

@lock lock bot locked and limited conversation to collaborators May 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Add 'clip' argument to coord_sf()
2 participants