Skip to content

Commit 2e51828

Browse files
authored
Complete plot_ly type documentation (#2493)
1 parent b8f8d96 commit 2e51828

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# plotly (development version)
22

3+
* Completed the `plot_ly()` documentation for what happens when `type` is not
4+
specified (#2362).
5+
36
* Removed the dependency on the `{lazyeval}` package.
47

58
## Bug fixes

R/plotly.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
#' provided at this level may override other arguments
2323
#' (e.g. `plot_ly(x = 1:10, y = 1:10, color = I("red"), marker = list(color = "blue"))`).
2424
#' @param type A character string specifying the trace type (e.g. `"scatter"`, `"bar"`, `"box"`, etc).
25-
#' If specified, it *always* creates a trace, otherwise
25+
#' If specified, it *always* creates a trace. Otherwise, a trace type is
26+
#' inferred from the supplied arguments when the plot is built.
2627
#' @param name Values mapped to the trace's name attribute. Since a trace can
2728
#' only have one name, this argument acts very much like `split` in that it
2829
#' creates one trace for every unique value.

man/plot_ly.Rd

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

0 commit comments

Comments
 (0)