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

plot multiple geoms on top of each other #678

Open
morzen opened this issue Mar 29, 2023 · 0 comments
Open

plot multiple geoms on top of each other #678

morzen opened this issue Mar 29, 2023 · 0 comments

Comments

@morzen
Copy link

morzen commented Mar 29, 2023

Hello,

Apologies for the issue, but I am running out of options here. I have been looking all over the web for a way to do this.
Screenshot 2023-03-29 at 21 13 51

By this, I mean being able to have multiple geom on top of each other, like it can be done in R.

the results I get in R look like this
Screenshot 2023-03-29 at 21 15 45
which is expected the data plotted in black and the data plotted in red.

When I try to do something similar in python3 it looks like this.
Screenshot 2023-03-29 at 21 17 58

only the red dot shows not the black one (in short only the last part of the code is being taken into account by the code) .

TimeGraph = ggplot(GroupsDateDictDF) + aes(x=GroupsDateDictDF["Name"], y=GroupsDateDictDF["Created"]) + geom_point(colour='black') + aes(x=GroupsDateDictDF["Name"], y=GroupsDateDictDF["Last Modified"]) + geom_point(colour='red')

here is my code.

kind regards,

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

1 participant