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

The contemporary seaborn lineplot() does not accept x and y as positional arguments. #4

Open
alxfed opened this issue Dec 30, 2022 · 1 comment

Comments

@alxfed
Copy link

alxfed commented Dec 30, 2022

You need to specify the names of the arguments.
NOT : ax = sns.lineplot(x, dist.Beta(w + 1, n - w + 1).log_prob(x).exp())
but : ax = sns.lineplot(x=x, y=dist.Beta(w + 1, n - w + 1).log_prob(x).exp())
... etc.

@fehiepsi
Copy link
Owner

fehiepsi commented Jan 1, 2023

Thanks @alxfed! The code in this repo is not maintained. Please checkout the numpyro version https://github.com/fehiepsi/rethinking-numpyro for working codes.

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