layout
From plotly v3.6.0
by Carson Sievert
Add and/or modify layout of a plotly
Add and/or modify layout of a plotly
Usage
layout(p = last_plot(), ..., data = NULL, evaluate = FALSE)
Arguments
- p
A plotly object.
- ...
Arguments to the layout object. For documentation, see https://plot.ly/r/reference/#Layout_and_layout_style_objects
- data
A data frame to associate with this layout (optional). If not provided, arguments are evaluated using the data frame in
plot_ly()
.- evaluate
logical. Evaluate arguments when this function is called?
Community examples
Looks like there are no examples yet.