plotly (version 4.8.0)

add_annotations: Add an annotation(s) to a plot

Description

Add an annotation(s) to a plot

Usage

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

Arguments

p

a plotly object

text

annotation text (required).

data

a data frame.

inherit

inherit attributes from plot_ly()?