Skip to content

Commit 77d47ed

Browse files
committed
upgrade to plotlyjs 1.14.1
1 parent 3e3e881 commit 77d47ed

File tree

3 files changed

+22
-21
lines changed

3 files changed

+22
-21
lines changed

NEWS

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ BREAKING CHANGES & IMPROVEMENTS:
77
* The `group` variable mapping no longer create multiple traces, but instead defines "gaps" within a trace (fixes #418, #381, #577). Groupings should be declared via the new `group_by()` function (see `help(plotly_data)` for examples) instead of the `group` argument (which is now deprecated).
88
* `plot_ly()` now _initializes_ a plotly object (i.e., won't add a scatter trace by default), meaning that something like `plot_ly(x = 1:10, y = 1:10) %>% add_trace(y = 10:1)` will create one trace, instead of two. However, `plot_ly()` will draw a trace if you manually specify a trace type, for example, `plot_ly(x = 1:10, y = 1:10, type = "scatter") %>% add_trace(y = 10:1)` will draw two scatter traces. If no trace type is provided, a sensible type is inferred from the supplied data, and automatically added (i.e., `plot_ly(x = rnorm(100))` now creates a histogram).
99
* The `inherit` argument is deprecated. Any arguments/attributes specified in `plot_ly()` will automatically be passed along to additional traces added via `add_trace()` (or any of it's `add_*()` siblings).
10-
* Scales for variable mappings (such as `color`, `symbol`, `linetype`) are now applied at the plot-level instead of the trace level. For this reason, the range of these scales (`colors`/`symbols`/`linetypes`) should be specified in `plot_ly()`, instead of `add_trace()` or any of it's `add_*()` siblings.
10+
* Scales for aesthetics (e.g., `color`, `symbol`, `linetype`) are now applied at the plot-level, instead of the trace level. To avoid scaling, wrap the aesthetic value with `I()`, for example: `plot_ly(x = 1:10, y = 1:10, color = I("red"))`.
1111

1212
NEW FEATURES & IMPROVEMENTS:
1313

@@ -24,7 +24,7 @@ NEW FEATURES & IMPROVEMENTS:
2424

2525
OTHER CHANGES:
2626

27-
* Upgraded to plotly.js v1.13.0 -- https://github.com/plotly/plotly.js/releases/tag/v1.13.0
27+
* Upgraded to plotly.js v1.14.1 -- https://github.com/plotly/plotly.js/releases/tag/v1.14.1
2828

2929
3.6.5 -- 10 June 2016
3030

0 commit comments

Comments
 (0)