vegawidget/virgo

Dot in the function

sa-lee opened this issue · 1 comments

I think missing values / logical values aren't being properly handled. i.e.

penguins %>%
  vega() %>%
  mark_point(enc(x = bill_length_mm, y = bill_depth_mm, color = is.na(sex)))

Produces a legend where all points are undefined.

I don't think missing values are probably handled yet. But this issue seems related to . in the is.na().