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

Inconsistency in required aesthetics between errorbar and errorbarh #1933

Closed
metanoid opened this Issue Nov 29, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@metanoid
Contributor

metanoid commented Nov 29, 2016

In the geom_errorbar code,
the required aesthetics are
required_aes = c("x", "ymin", "ymax"),

However, in the geom_errorbarh code,
the required aesthetics are
required_aes = c("x", "xmin", "xmax", "y"),

In other words, the x aesthetic is required for both plots, but the y aesthetic is required only for errorbarh.

I believe the correct answer would be to drop the x requirement from errorbarh

@hadley hadley closed this in #1934 Jan 24, 2017

@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.