Given a data frame with a class of plotly, this function returns the arguments
and/or data used to create the plotly. If no data frame is provided,
the last plotly object created in this R session is returned (if it exists).
Usage
get_plot(data = NULL, last = FALSE)
Arguments
data
a data frame with a class of plotly (and a plotly_hash attribute).
last
if no plotly attribute is found, return the last plot or NULL?