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

expand_limits throws warnings #1795

thomasp85 opened this Issue Sep 28, 2016 · 1 comment


None yet
2 participants

thomasp85 commented Sep 28, 2016

After the changes in befc4d0 where unused aesthetics throw a warning you now get a warning when using expand_limits() (that calls geom_blank() under the hood)

ggplot(mtcars) + 
  geom_point(aes(mpg, cyl)) + 
  expand_limits(x = c(-10, NA))

@thomasp85 thomasp85 added this to the v2.2.0 milestone Sep 28, 2016


This comment has been minimized.


thomasp85 commented Sep 28, 2016

@hadley can you look at this since you made the change?

@hadley hadley added the bug label Oct 5, 2016

@hadley hadley closed this in 97f3dd3 Oct 5, 2016

@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.