Skip to content

Commit 10205b0

Browse files
committed
broaden required aes
1 parent c48afd0 commit 10205b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/stat-connect.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ stat_connect <- function(
6565
StatConnect <- ggproto(
6666
"StatConnect", Stat,
6767

68-
required_aes = c("x", "y"),
68+
required_aes = c("x|xmin|xmax", "y|ymin|ymax"),
6969

7070
setup_params = function(data, params) {
7171
params$flipped_aes <- has_flipped_aes(data, ambiguous = TRUE)

man/stat_connect.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)