plotly_json

0th

Percentile

Inspect JSON sent to plotly.js

This function is useful for obtaining/viewing/debugging JSON sent to plotly.js.

Usage
plotly_json(p = last_plot(), jsonedit = interactive(), ...)
Arguments
p

a plotly or ggplot object.

jsonedit

use listviewer::jsonedit to view the JSON?

...

other options passed onto listviewer::jsonedit

Aliases
  • plotly_json
Examples
library(plotly) # NOT RUN { plotly_json(plot_ly()) plotly_json(plot_ly(), FALSE) # }
Documentation reproduced from package plotly, version 4.5.2, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.