powered by
Add an annotation(s) to a plot
add_annotations(p, text = NULL, ..., data = NULL, inherit = TRUE)
a plotly object
annotation text (required).
these arguments are documented at https://github.com/plotly/plotly.js/blob/master/src/components/annotations/attributes.js
a data frame.
inherit attributes from plot_ly()?
plot_ly()
Carson Sievert