Skip to content

Commit 1443ff8

Browse files
committed
Add y to list of required aesthetics for geom_errorbarh.
Fixes #738
1 parent 9917f4b commit 1443ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-errorh.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ GeomErrorbarh <- proto(Geom, {
3131
default_stat <- function(.) StatIdentity
3232
default_aes <- function(.) aes(colour = "black", size=0.5, linetype=1, height=0.5, alpha = NA)
3333
guide_geom <- function(.) "path"
34-
required_aes <- c("x", "xmin", "xmax")
34+
required_aes <- c("x", "xmin", "xmax", "y")
3535

3636
reparameterise <- function(., df, params) {
3737
df$height <- df$height %||%

0 commit comments

Comments
 (0)