File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
# 4.5.5.9000
2
2
3
+ ## NEW FEATURES
4
+
5
+ * Added support for the ` timezone ` argument in __ ggplot2__ 's ` scale_datetime() ` . Fixes (#743 , thanks @earowang ).
6
+
3
7
## CHANGES
4
8
5
9
* Now requires a version of __ ggplot2__ higher than 2.1.0 because the new ggproto faceting infrastructure introduced breaking changes.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ plotly_build.plotly <- function(p) {
43
43
44
44
# if an annotation attribute is an array, expand into multiple annotations
45
45
nAnnotations <- max(lengths(x $ annotations ) %|| % 0 )
46
- if (nAnnotations > 1 && ! is.null(names(x $ annotations ))) {
46
+ if (! is.null(names(x $ annotations ))) {
47
47
# font is the only list object, so store it, and attach after transposing
48
48
font <- x $ annotations [[" font" ]]
49
49
x $ annotations <- purrr :: transpose(lapply(x $ annotations , function (x ) {
You can’t perform that action at this time.
0 commit comments