Skip to content

Can't add layer which uses continuous data to a plot where other layers use discrete input. #1323

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

Closed
alshan opened this issue Mar 28, 2025 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@alshan
Copy link
Collaborator

alshan commented Mar 28, 2025

points = geom_point(aes(
    [0.5],
    [2]
))

bars = geom_bar(aes(
    ['A', 'B'],
    [1, 1.5]
), stat='identity')

ggplot() + bars + points

Image


Expected: point between two bars along the x-axis.


Related: #1279

@alshan alshan added the bug Something isn't working label Mar 28, 2025
@alshan alshan added this to the 2025Q2 milestone Mar 28, 2025
@alshan alshan self-assigned this Apr 3, 2025
@alshan alshan closed this as completed in fabe8e8 Apr 9, 2025
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

1 participant