Open JinraeKim opened 2 years ago
I don't know if any plotting functions in Plots or StatsPlots support missing
. Ideally we would, but it takes a lot more special-casing to do it correctly. On the other hand, it's pretty easy for users to drop missing values of they know they have them.
I wonder though if this is something we want to consider doing.
Yes, Plots supports missing values out-of-the-box, but by converting them to NaN
s. Given that boxplots don't support NaNs we get this issue. It would make sense to filter(isfinite, data)
here after the grouping in boxplot (and violin) IMHO.
This post is from a post of JuliaDiscourse.
I found that
boxplot
does not support missing values.For example,
results in the following error:
To avoid this issue, one may be able to repeat
boxplot!
asWhy don't you provide this functionality for
boxplot
?