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_crossbar: an error occurs if the mapped values of aesthetics are not populated. #886

Closed
RYangazov opened this issue Sep 25, 2023 · 0 comments
Assignees
Milestone

Comments

@RYangazov
Copy link
Collaborator

Example:

from lets_plot import *
LetsPlot.setup_html()

data = {
    'drink': ['coffee','tea','water', 'milk'],
    'mean': [3, 4, 6, 2],
    'upper': [1, 5, 7, 4],
    'lower': [6, 3, 2, 1]
}

ggplot(data, aes(x='drink', middle='mean', ymin='lower', ymax='upper', color='mean')) + geom_crossbar()

Result:
AttributeError: 'NoneType' object has no attribute 'props'

@alshan alshan added this to the New milestone Sep 25, 2023
@RYangazov RYangazov changed the title geom_crossbar: аn error occurs if the mapped values of aesthetics are not populated. geom_crossbar: an error occurs if the mapped values of aesthetics are not populated. Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants