We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
one example would be plotly. the following is vastly faster than rendering an htmlwidget
ggplotly <- function(p = ggplot2::last_plot(), width = NULL, height = NULL, tooltip = "all", dynamicTicks = FALSE, layerData = 1, originalData = TRUE, source = "A", ...) { ggp <- plotly::ggplotly(p, width, height, tooltip, dynamicTicks, layerData, originalData, source, ...) tree <- jsonlite::fromJSON(plotly::plotly_json(ggp)) # plotly_json does the right unboxing and so on IRdisplay::publish_mimebundle(list('application/vnd.plotly.v1+json' = tree)) }
see also IRkernel/IRkernel#587
The text was updated successfully, but these errors were encountered:
No branches or pull requests
one example would be plotly. the following is vastly faster than rendering an htmlwidget
see also IRkernel/IRkernel#587
The text was updated successfully, but these errors were encountered: