ptt_plot_automate_png: Uses a headless browser to render the png files.

View source: R/ptt_plot_widget.R

ptt_plot_automate_pngR Documentation

Uses a headless browser to render the png files.

Description

Uses a headless browser to render the png files.

Usage

ptt_plot_automate_png(p, artefacts, dl_path = getwd())

Arguments

p

A plotly object.

artefacts

A character vector of s(mall), n(arrow), and/or w(ide) corresponding to the expected .png sizes.

dl_path

The path where the .png files will be downloaded to. Default is current working directory.

Value

The plotly object p.


pttry/pttrobo documentation built on March 5, 2025, 6:36 p.m.