JetBrains / lets-plot-kotlin

Grammar of Graphics for Kotlin
https://lets-plot.org/kotlin/
MIT License
419 stars 36 forks source link

Boxplot bug #143

Closed AndreiKingsley closed 10 months ago

AndreiKingsley commented 1 year ago

Why are some strange outliers drawn here? Is this a bug?

image
alshan commented 1 year ago

This half-bug possibly) By the internal convention, outlier points are data-points where y aes is "defined" i.e. not NaN or null. Try to add "y" to listOf(null,null,null) to your dataset and to the mapping.

AndreiKingsley commented 1 year ago

This half-bug possibly) By the internal convention, outlier points are data-points where y aes is "defined" i.e. not NaN or null. Try to add "y" to listOf(null,null,null) to your dataset and to the mapping.

Perhaps it should be the default?

alshan commented 10 months ago

In 4.4.2 no more tricks required to draw pure boxes without fantom outliers.