Skip to contents

Export plotly plot to file

Usage

export_plotly(
  x,
  filename,
  width = 600,
  height = 600,
  scale = 1,
  import_kaleido = TRUE,
  verbosity = 1L
)

Arguments

x

plotly object.

filename

Character: Filename to save the plot to.

width

Numeric: Width of the exported image in pixels.

height

Numeric: Height of the exported image in pixels.

scale

Numeric: Scale factor for the exported image.

import_kaleido

Logical: If TRUE, attempts to import kaleido for exporting plotly plots.

verbosity

Integer: Verbosity level.

Author

EDG