JetBrains / JetBrains/lets-plot

`geom_boxplot`: the plot is not drawn if there is a grouping and one of the categories contains only NaN

Open
#1,270 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.8k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Example:

```python
data = {
'x': ['a', 'a', 'a', 'b', 'b', 'b', 'c'],
'y': [0, 1, 2, -1, 0, 1, None],
}
ggplot(data) + geom_boxplot(aes('x', 'y', fill='x'))
```

Instead of the plot, the message `"All data series in data frame must have equal size ..."` appears.

Without additional grouping there is no problem, see example:

```python
ggplot(data) + geom_boxplot(aes('x', 'y'))
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.