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

Support layering aes() multiple times #822

Closed
jdanbrown opened this issue Jul 19, 2023 · 0 comments
Closed

Support layering aes() multiple times #822

jdanbrown opened this issue Jul 19, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@jdanbrown
Copy link

Bug: using aes() multiple times loses all but the last one

from lets_plot import *
from plotnine.data import mpg

LetsPlot.setup_html()

(
    ggplot(mpg)
    + aes(x='hwy')
    + aes(y='cty')
    + geom_point()
)
image

Using exactly one aes() does the right thing

from lets_plot import *
from plotnine.data import mpg

LetsPlot.setup_html()

(
    ggplot(mpg)
    + aes(x='hwy', y='cty')
    + geom_point()
)
image

Expected behavior (from plotnine)

from plotnine import *
from plotnine.data import mpg

LetsPlot.setup_html()

(
    ggplot(mpg)
    + aes(x='hwy')
    + aes(y='cty')
    + geom_point()
)

image

from plotnine import *
from plotnine.data import mpg

LetsPlot.setup_html()

(
    ggplot(mpg)
    + aes(x='hwy', y='cty')
    + geom_point()
)

image

@alshan alshan added this to the New milestone Jul 19, 2023
@alshan alshan modified the milestones: New, 2023Q3 Aug 25, 2023
@alshan alshan modified the milestones: 2023Q3, 2023Q4 Sep 29, 2023
@alshan alshan modified the milestones: 2023Q4, 2024Q1 Dec 29, 2023
@alshan alshan modified the milestones: 2024Q1, 2024Q2 Mar 29, 2024
@alshan alshan added the * label Apr 13, 2024
@alshan alshan modified the milestones: 2024Q2, 2024Q3 Jun 30, 2024
@alshan alshan self-assigned this Sep 3, 2024
@alshan alshan closed this as completed in 6771aa6 Sep 4, 2024
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

2 participants