powered by
Print out the vega plot specification
show_spec(vis, pieces = NULL)
Visualisation to print
Optional, a character or numeric vector used to pull out selected pieces of the spec
base <- mtcars %>% ggvis(~mpg, ~wt) %>% layer_points() base %>% show_spec() base %>% show_spec("scales")
Run the code above in your browser using DataLab