if (FALSE) {
# Change theme
viz.set(theme = "purple")
# Enable export with custom path
viz.set(export_graphics = TRUE, export_path = "./output/plots")
# Save and restore settings
prev <- viz.set(theme = "red")
# ... do work ...
do.call(viz.set, prev)
}
Run the code above in your browser using DataLab