export

0th

Percentile

Export a plotly graph to a static file

Export a plotly graph to a static file

Usage
export(p, file = "plotly.png", ...)
Arguments
p

a plotly or ggplot object.

file

a filename. See the file argument of webshot::webshot for valid extensions.

...

arguments passed onto webshot::webshot

Aliases
  • export
Examples
library(plotly) # NOT RUN { export(plot_ly(economics, x = ~date, y = ~pce)) # }
Documentation reproduced from package plotly, version 4.5.2, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.