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
{{ message }}
Repository navigation
Error in match.fun(FUN): 'ggfun("scales_transform_df")' is not a function, character or symbol #2259
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)
}
Activity
Close #2259: handle recent changes to ggplot2's plot_build() logic