We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a439bc commit a0fa68fCopy full SHA for a0fa68f
R/shiny.R
@@ -58,9 +58,9 @@ renderPlotly <- function(expr, env = parent.frame(), quoted = FALSE) {
58
# Converts a plot, OR a promise of a plot, to plotly
59
prepareWidget <- function(x) {
60
p <- if (promises::is.promising(x)) {
61
- promises::then(x, plotly_build)
+ promises::then(x, ggplotly)
62
} else {
63
- plotly_build(x)
+ ggplotly(x)
64
}
65
register_plot_events(p)
66
p
0 commit comments