View source: R/plots-utility-watermark.R
addWatermark | R Documentation |
plotly
object.Add a watermark to a plotly
object.
addWatermark(pl, watermark = NULL)
pl |
|
watermark |
(optional) String with path to a file containing a watermark. |
plotly
object with a watermark (if specified)
Other watermark helpers:
getWatermark()
watermark <- tempfile(pattern = "watermark", fileext = ".png")
getWatermark(file = watermark)
addWatermark(pl = plotly::plot_ly(), watermark = watermark)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.