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

Marginal plots #200

Closed
abergou opened this issue Sep 11, 2020 · 2 comments
Closed

Marginal plots #200

abergou opened this issue Sep 11, 2020 · 2 comments

Comments

@abergou
Copy link

abergou commented Sep 11, 2020

Seaborn has a very nice jointplot which combines a scatterplot with a histogram of x and y. Is creating a plot like this possible in lets-plot? If not then might it be possible to add low level hooks to create such a plot (e.g. the ability to add plots to the x and y axes of a main plot where the x and y axes are shared).

@alshan
Copy link
Collaborator

alshan commented Sep 11, 2020

Nice plots indeed. In Lets-Plot you can freely combine plots using the general-purpose GGBunch object . See the ggbunch example.

Unfortunately, at the moment Lets-Plot doesn't have capability to flip axis on plots so the Y-histogram can't be done at this time.

@alshan alshan added this to the 2021Q3 milestone Jun 28, 2021
@alshan alshan modified the milestones: 2021Q3, 2021Q4 Sep 28, 2021
@alshan alshan modified the milestones: 2021Q4, 2022Q1 Dec 28, 2021
@alshan alshan modified the milestones: 2022Q1, 2022Q2 Mar 30, 2022
@alshan
Copy link
Collaborator

alshan commented Jun 28, 2022

Hi @abergou
We've added ggmarginal() in 2.4.0: https://github.com/JetBrains/lets-plot#marginal-plots

It might also make sense to add a higher level API to make building marginal plots simpler and quicker. Will try to do it later.

@alshan alshan closed this as completed Jun 28, 2022
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