You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,18 @@
12
12
* The `style()` function now supports "partial updates" (i.e. modification of a particular property of an object, rather than the entire object). For example, notice how the first plot retains the original marker shape (a square): `p <- plot_ly(x = 1:10, y = 1:10, symbol = I(15)); subplot(style(p, marker.color = "red"), style(p, marker = list(color = "red")))` (#1342).
13
13
***plotly** objects can now be serialized and unserialized in different environments (i.e., you can now use `saveRDS()` to save an object as an rds file and restore it on another machine with `readRDS()`). Note this object is *dynamically* linked to JavaScript libraries, so one should take care to use consistent versions of **plotly** when serializing and unserializing (#1376).
14
14
* The `plotly_example()` will now attempt to open the source file(s) used to run the example. Set `edit = FALSE` to prevent the source file(s) from opening.
15
+
* The `event_data()` function now relays the (official plotly.js) `customdata` attribute in similar fashion to (unofficial) `key` attribute (#1423).
16
+
15
17
16
18
## CHANGES
17
19
18
20
* The 'collaborate' button no longer appears in the modebar, and as a result, the `config()` function no longer has a `collaborate` argument.
19
21
20
22
## BUG FIXES
21
23
22
-
*`subplot()` now bumps annotation `xref`/`yref` anchors correctly (#1181).
23
-
*`subplot()` now accumulates images, repositions paper coordinates, and reanchors axis references (#1332).
24
+
*`subplot()` now works much better with annotations, images, and shapes:
25
+
- When `xref`/`yref` references an x/y axis these references are bumped accordingly (#1181).
26
+
- When `xref`/`yref` references paper coordinates, these coordinates are updated accordingly (#1332).
24
27
*`event_data("plotly_selected")` is no longer too eager to clear. That is, it is no longer set to `NULL` when clicking on a plot *after* triggering the "plotly_selected" event (#1121) (#1122).
25
28
* The colorscale generated via the `color` argument in `plot_ly()` now uses an evenly spaced grid of values instead of quantiles (#1308).
26
29
* When using **shinytest** to test a **shiny** that contains **plotly** graph, false positive differences are no longer reported (rstudio/shinytest#174).
@@ -31,6 +34,7 @@
31
34
* An articial marker no longer appears when clearing a crosstalk selection of a plot with a colorbar (#1406).
32
35
* Clearing a highlight event via crosstalk no longer deletes all the traces added since initial draw (#1436).
33
36
* Recursive attribute validation is now only performed on recursive objects (#1315).
37
+
* The `text` attribute is no longer collapsed to a string when `hoveron='fills+points'` (#1448).
0 commit comments