plotly (version 2.0.2)

gg2list: Convert a ggplot to a list.

Description

Convert a ggplot to a list.

Usage

gg2list(p)

Arguments

p
ggplot2 plot.

Value

  • figure object (list with names "data" and "layout").