Skip to content

Commit 86a839b

Browse files
committed
update news
1 parent f9fe789 commit 86a839b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 4.5.5.9000
22

3+
## NEW FEATURES
4+
5+
* Added support for the `timezone` argument in __ggplot2__'s `scale_datetime()`. Fixes (#743, thanks @earowang).
6+
37
## CHANGES
48

59
* Now requires a version of __ggplot2__ higher than 2.1.0 because the new ggproto faceting infrastructure introduced breaking changes.

R/plotly_build.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ plotly_build.plotly <- function(p) {
4343

4444
# if an annotation attribute is an array, expand into multiple annotations
4545
nAnnotations <- max(lengths(x$annotations) %||% 0)
46-
if (nAnnotations > 1 && !is.null(names(x$annotations))) {
46+
if (!is.null(names(x$annotations))) {
4747
# font is the only list object, so store it, and attach after transposing
4848
font <- x$annotations[["font"]]
4949
x$annotations <- purrr::transpose(lapply(x$annotations, function(x) {

0 commit comments

Comments
 (0)