We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Providing geom_point with simple x and y parameters now consistently triggers a warning suggesting to use annotate.
geom_point
annotate
This warning is also visible several places on the reference page Position related aesthetics: x, y, xmin, xmax, ymin, ymax, xend, yend, so I assume that this is not working as intended. If it is, I don't understand how annotate is an alternative.
Reproducible example:
library("tidyverse") # Sample data dat <- data.frame(xvar = c(1:100), yvar = c(101:200)) # Chart with geom warning ggplot(dat, aes(x = cap, y = maint)) + geom_point(aes(x= 5, y = 125))
Resulting in warning:
Warning message: In geom_point(aes(x = 5, y = 125)) : All aesthetics have length 1, but the data has 100 rows. ℹ Did you mean to use annotate()?
annotate()
The text was updated successfully, but these errors were encountered:
This issue is very similar to #5762, so I suggest to continue discussion there to keep it all in one place.
Sorry, something went wrong.
geom_segment()
No branches or pull requests
Providing
geom_point
with simple x and y parameters now consistently triggers a warning suggesting to useannotate
.This warning is also visible several places on the reference page Position related aesthetics: x, y, xmin, xmax, ymin, ymax, xend, yend, so I assume that this is not working as intended. If it is, I don't understand how
annotate
is an alternative.Reproducible example:
Resulting in warning:
The text was updated successfully, but these errors were encountered: