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
FYI, future changes in ggplot2 will break ggplotly(). The following example did not work with the development version of ggplot2.
See also this discussion
library(plotly)
packageVersion("plotly")
#> [1] '4.10.1'
ggplotly(plt1,
tooltip= c("x", "y", "color", "text"),
dynamicTicks=TRUE) %>%
rangeslider() %>%
layout(
legend=list(orientation="h", x=0.1, y=-0.5)
)
#> Error in match.fun(FUN): 'ggfun("scales_transform_df")' is not a function, character or symbol
# We need access to internal ggplot2 functions in several places
# this helps us import functions in a way that R CMD check won't cry about
ggfun <- function(x) {
tryCatch(getFromNamespace(x, "ggplot2"), error = function(e) NULL)
}
The text was updated successfully, but these errors were encountered:
FYI, future changes in
ggplot2
will breakggplotly()
. The following example did not work with the development version ofggplot2
.See also this discussion
https://github.com/plotly/plotly.R/blob/master/R/ggplotly.R#L317
https://github.com/plotly/plotly.R/blob/master/R/ggplotly.R#L1391-L1395
The text was updated successfully, but these errors were encountered: