addWatermark: Add a watermark to a 'plotly' object.

View source: R/plots-utility-watermark.R

addWatermarkR Documentation

Add a watermark to a plotly object.

Description

Add a watermark to a plotly object.

Usage

addWatermark(pl, watermark = NULL)

Arguments

pl

plotly object.

watermark

(optional) String with path to a file containing a watermark.

Value

plotly object with a watermark (if specified)

See Also

Other watermark helpers: getWatermark()

Examples

watermark <- tempfile(pattern = "watermark", fileext = ".png")
getWatermark(file = watermark)
addWatermark(pl = plotly::plot_ly(), watermark = watermark)

clinDataReview documentation built on April 12, 2025, 1:14 a.m.