Writes an html element for embedding.
Usage
ptt_plot_create_widget(p, title)
Arguments
- p
A plotly object.
- title
The filename of the html element (without file format). The function will clean the name up, or try to extract it from param p if missing.
Examples
p |> ptt_plot_create_widget()
#> Error in ptt_plot_create_widget(p): could not find function "ptt_plot_create_widget"