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

seaborn.objects.Plot can't realize bivariate distribution #3805

Open
moonlighthalfwindow opened this issue Dec 21, 2024 · 0 comments
Open

seaborn.objects.Plot can't realize bivariate distribution #3805

moonlighthalfwindow opened this issue Dec 21, 2024 · 0 comments

Comments

@moonlighthalfwindow
Copy link

fig = plt.figure()
ax = fig.add_subplot(111)
p = (
    so.Plot(tips, x='tip', color='sex')
    .add(so.Bar(alpha=1), so.Hist(), so.Stack())
    .label(color='')
    .on(ax)
    .plot(pyplot=True)
)
p.show()

image

The y parameter passed in when Hist is called has no effect, it will have no effect on the graphing, it will simply generate a y-axis label and cannot generate a bivariate distribution.
I'm looking forward to the implementation of this feature.

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