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 + geom_abline issue #21

Closed
Alexander-Minyushkin opened this issue Nov 23, 2016 · 0 comments
Closed

Facet_zoom + geom_abline issue #21

Alexander-Minyushkin opened this issue Nov 23, 2016 · 0 comments
Labels
bug

Comments

@Alexander-Minyushkin
Copy link

@Alexander-Minyushkin Alexander-Minyushkin commented Nov 23, 2016

How to add abline to facet_zoom plot if I want to see it both on original and zoomed parts?
Currently I get this error:

ggplot(iris, aes(Petal.Length, Petal.Width, colour = Species)) +
    geom_point() + facet_zoom(x = Species == "versicolor") +
    geom_abline(slope =0.3) 

Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 0, 1

@thomasp85 thomasp85 added the bug label Nov 23, 2016
@thomasp85 thomasp85 closed this in e2d3ab7 Nov 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.