vegawidget/virgo

Sizing functions

earowang opened this issue · 1 comments

  • vega_set_size()
  • vega_set_width/height()

I reverted back to vega(width =, height = ). It looks more natural to me to set the canvas size when initiating the vega().

vega() %>%
  mark_point() %>%
  vega_set_size()

OR

vega() %>%
  vega_set_size() %>%
  mark_point()

Both look a bit chunky.