Skip to content

Commit 63e0ddb

Browse files
committed
curse you cbind
1 parent 1bd9d6a commit 63e0ddb

File tree

3 files changed

+2
-47
lines changed

3 files changed

+2
-47
lines changed

R/layers2traces.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ ribbon_dat <- function(dat) {
645645
tmp <- dat[o, ]
646646
others <- tmp[not_used]
647647
dat1 <- cbind(x = tmp$x, y = tmp$ymin, others)
648-
dat1[n+1, ] <- cbind(x = tmp$x[n], y = tmp$ymin[n], others[n, ])
648+
dat1[n+1, ] <- data.frame(x = tmp$x[n], y = tmp$ymin[n], others[n, ])
649649
# bottom-half of ribbon
650650
tmp2 <- dat[o2, ]
651651
others2 <- tmp2[not_used]

R/plotly_data.R

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#' @param id a character string or number referencing an "attribute layer".
99
#' @return returns a data frame
1010
#' @examples
11+
#' @export
1112
#'
1213
#' # use group_by() to define groups of visual markings
1314
#' p <- txhousing %>%

man/plotly_data.Rd

-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)