Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

layout

Modify the layout of a plotly visualization


Description

Modify the layout of a plotly visualization

Usage

layout(p, ..., data = NULL)

Arguments

p

A plotly object.

...

Arguments to the layout object. For documentation, see https://plotly.com/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().

Author(s)

Carson Sievert


plotly

Create Interactive Web Graphics via 'plotly.js'

v4.10.0
MIT + file LICENSE
Authors
Carson Sievert [aut, cre] (<https://orcid.org/0000-0002-4958-2844>), Chris Parmer [aut], Toby Hocking [aut], Scott Chamberlain [aut], Karthik Ram [aut], Marianne Corvellec [aut] (<https://orcid.org/0000-0002-1994-3581>), Pedro Despouy [aut], Salim Brüggemann [ctb] (<https://orcid.org/0000-0002-5329-5987>), Plotly Technologies Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.