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

facet_zoom shading region #22

Closed
daniel-wells opened this issue Nov 23, 2016 · 0 comments
Closed

facet_zoom shading region #22

daniel-wells opened this issue Nov 23, 2016 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@daniel-wells
Copy link
Contributor

The shading on the full data panel which indicates the axis range on the zoom panel doesn't fully cover the axis range actually used in the zoom panel.

df <- data.frame(weight = c(1.2, 2.5, 3.6, 4.0, 4.5), outcome = c(20, 2100, 200, 10, 2500))

ggplot(df, aes(weight, outcome)) +
  geom_point() +
  facet_zoom(y = outcome < 300)
@thomasp85 thomasp85 added the bug an unexpected problem or unintended behavior label Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants