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

facet_grid: Internal error #699

Closed
IKupriyanov-HORIS opened this issue Feb 22, 2023 · 0 comments
Closed

facet_grid: Internal error #699

IKupriyanov-HORIS opened this issue Feb 22, 2023 · 0 comments
Assignees
Labels

Comments

@IKupriyanov-HORIS
Copy link
Collaborator

Crash with internal error when try to run this code snippet:

from lets_plot import *
LetsPlot.setup_html()

data = {
    'x': [0, 0, 1, 1, 0, 0, 1, 1],
    'f': ['A', 'B', 'B', 'A', 'B', 'A', 'A', 'B'],
    'g': ['X', 'X', 'X', 'X', 'Y', 'Y', 'Y', 'Y'],
    'p': ['q', 'q', 'q', 'w', 'w', 'w', 'w', 'w']
}

ggplot(data) + \
    geom_bar(aes(x='x', fill='f')) + \
    facet_grid(x='g', y='p')

Output:

ERR [BackendSpecTransformUtil] : Internal error: IndexOutOfBoundsException : Empty list doesn't contain element at index 0.
Internal error: IndexOutOfBoundsException : Empty list doesn't contain element at index 0.

@alshan alshan modified the milestones: New, 2023Q2 Mar 30, 2023
@alshan alshan added the ASAP label Mar 31, 2023
@OLarionova-HORIS OLarionova-HORIS self-assigned this Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants