Skip to content

Commit a52383e

Browse files
committed
more typos
1 parent 7a6c83a commit a52383e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

R/ggplotly.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#' @param p a ggplot object.
77
#' @param width Width of the plot in pixels (optional, defaults to automatic sizing).
88
#' @param height Height of the plot in pixels (optional, defaults to automatic sizing).
9-
#' @param tooltip a character vector specifying which aesthetic tooltips to show
10-
#' in the tooltip. The default, "all", means show all the aesthetic tooltips
9+
#' @param tooltip a character vector specifying which aesthetic mappings to show
10+
#' in the tooltip. The default, "all", means show all the aesthetic mappings
1111
#' (including the unofficial "text" aesthetic). The order of variables here will
1212
#' also control the order they appear. For example, use
1313
#' \code{tooltip = c("y", "x", "colour")} if you want y first, x second, and

man/ggplotly.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.

tests/testthat/test-ggplot-violin.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test_that("geom_violin with fill aes works", {
2424
})
2525

2626
test_that("can hide x values in tooltip", {
27-
p <- ggplotly(gg2, mapping = "y")
27+
p <- ggplotly(gg2, tooltip = "y")
2828
l <- plotly_build(p)
2929
expect_equal(sum(grepl("cyl", l$data[[1]]$text)), 0)
3030
})

0 commit comments

Comments
 (0)