Closed bschilder closed 1 year ago
This seems to be resolved when I pass download_button()
a named list (with the plot and the data) rather than just the plotly object itself. This is a good idea to have anyways, as it enhanced reproducibility and flexibility of the plots.
download_button(object=plotly_object, ...)
# vs.
download_button(object=list(plot=plotly_object, data=plotly_data), ...)
Just applied to all relevant plotting functions and indeed it solves the issue!
1. Bug description
Seems to occur when I pass a
plotly
object directly todownload_button
Console output
Expected behaviour
Generates button to download
plotly
object.2. Reproducible example
Code
3. Session info
(Add output of the R function
utils::sessionInfo()
below. This helps us assess version/OS conflicts which could be causing bugs.)