knit_print.ggplot | R Documentation |
Print ggplots in light/dark mode
## S3 method for class 'ggplot' knit_print(x, options, ...)
x |
an object with class ggplot |
options |
chunk options |
... |
additional arguments to be passed onto print() |
html for light and dark mode plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.