Closed as not planned
Closed as not planned
Copy link
Description
I ran into a problem with ggplotly()
. The following example worked with the CRAN version 3.4.2
but not with the dev version. Thanks!
library(dplyr)
library(ggplot2)
packageVersion("ggplot2")
#> [1] '3.4.2.9000'
data("airquality")
airquality <- airquality %>%
select(Month, Day, Temp) %>%
mutate(Date = as.Date(paste("1973", Month, Day, sep = "-")))
plt1 <- ggplot(airquality,
aes(x = Date,
y = Temp)) +
geom_line() +
theme_bw()
plt1
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
Created on 2023-04-24 with reprex v2.0.2
Metadata
Metadata
Assignees
Labels
No labels