plotly (version 2.0.2)

plotly_build: Build a plotly object before viewing it

Description

For convenience and efficiency purposes, plotly objects are subject to lazy evaluation. That is, the actual content behind a plotly object is not created until it is absolutely necessary. In some instances, you may want to perform this evaluation yourself, and work directly with the resulting list.

Usage

plotly_build(l = last_plot())

Arguments

l
a ggplot object, or a plotly object, or a list.