Skip to content

Commit cd62ed5

Browse files
committed
fix typo; document
1 parent f1eee2b commit cd62ed5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/ggplotly.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#' \code{tooltip = c("y", "x", "colour")} if you want y first, x second, and
1414
#' colour last.
1515
#' @param source Only relevant for \link{event_data}.
16+
#' @param ... arguments passed onto methods.
1617
#' @seealso \link{signup}, \link{plot_ly}
1718
#' @return a plotly object
1819
#' @export
@@ -65,7 +66,7 @@ ggplotly.ggmatrix <- function(p = ggplot2::last_plot(), width = NULL,
6566
if (nchar(p$title) > 0) {
6667
s <- layout(s, title = p$title)
6768
}
68-
hash_plot(pm$data, plotly_build(s))
69+
hash_plot(p$data, plotly_build(s))
6970
}
7071

7172
#' @export

0 commit comments

Comments
 (0)