plotly_json {plotly} | R Documentation |
This function is useful for obtaining/viewing/debugging JSON sent to plotly.js.
plotly_json(p = last_plot(), jsonedit = interactive(), ...)
p |
a plotly or ggplot object. |
jsonedit |
use |
... |
other options passed onto |
plotly_json(plot_ly()) plotly_json(plot_ly(), FALSE)