Skip to content

Commit 008312c

Browse files
committed
Merge pull request #317 from kohske/fix/annotate
Fix a bug in annotate: move legend to show_guide.
2 parents 40ea158 + fdff90b commit 008312c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/annotation.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ annotate <- function(geom, x = NULL, y = NULL, xmin = NULL, xmax = NULL, ymin =
2323
stat = "identity",
2424
inherit.aes = FALSE,
2525
data = data.frame(layer_data), mapping = aes_all(names(layer_data)),
26-
legend = FALSE
26+
show_guide = FALSE
2727
)
2828
}
2929

0 commit comments

Comments
 (0)