Skip to content
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

Closed
thomasp85 opened this issue Sep 28, 2016 · 1 comment
Closed

expand_limits throws warnings #1795

thomasp85 opened this issue Sep 28, 2016 · 1 comment
Labels
bug an unexpected problem or unintended behavior
Milestone

Comments

@thomasp85
Copy link
Member

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
@thomasp85
Copy link
Member Author

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

@hadley hadley added the bug an unexpected problem or unintended behavior label Oct 5, 2016
@hadley hadley closed this as completed 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.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants