add_annotations: Add an annotation(s) to a plot

Description Usage Arguments Author(s)

View source: R/add.R

Description

Add an annotation(s) to a plot

Usage

1
add_annotations(p, text = NULL, ..., data = NULL, inherit = TRUE)

Arguments

p

a plotly object

text

annotation text (required).

...

these arguments are documented at https://github.com/plotly/plotly.js/blob/master/src/components/annotations/attributes.js

data

a data frame.

inherit

inherit attributes from plot_ly()?

Author(s)

Carson Sievert


trafficonese/plotly_mini documentation built on Sept. 14, 2019, 9:51 p.m.