lets-plot-kotlin icon indicating copy to clipboard operation
lets-plot-kotlin copied to clipboard

No indication of removed records

Open holgerbrandl opened this issue 4 years ago • 2 comments

In ggplot the user is notified if records were removed due to NA. E.g.

$ ggplot(msleep, aes(sleep_total, rem_proportion)) + geom_point(size=4, alpha=0.3)

## Warning: Removed 22 rows containing missing values (geom_point).

In letsplot there is currently no such indication, which may lead to wrong conclusions about data.

holgerbrandl avatar Jul 17 '21 11:07 holgerbrandl

Looks like helpful info. Is this optional in ggplot?

alshan avatar Jul 20 '21 00:07 alshan

It's the default. I never tried to switch it off, because I like its rationale. However, it seems possible to do so on a per geom level , see https://stackoverflow.com/questions/13286531/how-to-suppress-warnings-when-plotting-with-ggplot

holgerbrandl avatar Jul 21 '21 05:07 holgerbrandl