Skip to content

Commit ba4b936

Browse files
committed
Merge branch 'feature/transmit' of https://github.com/ropensci/plotly into feature/transmit
2 parents cb02fa9 + 0895b14 commit ba4b936

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: plotly
22
Title: Create Interactive Web Graphics via Plotly's JavaScript Graphing Library
3-
Version: 2.4.3
3+
Version: 2.4.4
44
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
55
email = "cpsievert1@gmail.com"),
66
person("Chris", "Parmer", role = c("aut", "cph"),

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2.4.4 -- 13 Feb 2015
2+
3+
as.widget() now returns htmlwidget objects untouched. See #449.
4+
15
2.4.3 -- 11 Feb 2015
26

37
Ensure that we always return HTTPS links. Fixes #455

R/print.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ knit_print.plotly <- function(x, options, ...) {
3131
#' htmlwidgets::saveWidget(as.widget(p), "index.html")
3232
#' }
3333
#'
34+
3435
as.widget <- function(x, ...) {
36+
if (inherits(x, "htmlwidget")) return(x)
3537
p <- plotly_build(x)
3638
# set some margin defaults if none are provided
3739
p$layout$margin <- modifyList(

inst/examples/Movies/server.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
library(shiny)
22
library(plotly)
3+
library(ggplot2movies) # movies is no longer contained within ggplot2 https://cran.r-project.org/web/packages/ggplot2movies/index.html
34

4-
data(movies, package = "ggplot2")
55
minx <- min(movies$rating)
66
maxx <- max(movies$rating)
77

0 commit comments

Comments
 (0)