padding | R Documentation |
Define padding.
padding(top = NULL, right = NULL, bottom = NULL, left = NULL)
top , right , bottom , left |
Amount of padding on each border. Can either be a single number, "auto", or "strict" |
p <- mtcars %>% ggvis(~wt, ~mpg) %>% layer_points()
p %>% set_options(padding = padding())
p %>% set_options(padding = padding(10, 10, 10, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.