Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ASmirnov-HORIS opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@ASmirnov-HORIS
Copy link
Collaborator

Example:

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:

ggplot(data) + geom_boxplot(aes('x', 'y'))
@alshan alshan added the bug Something isn't working label Dec 30, 2024
@alshan alshan added this to the 2025Q1 milestone Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants