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

Figure in Sleepstudy example not being reproducible #606

Closed
tomicapretto opened this issue Dec 5, 2022 · 2 comments · Fixed by #607
Closed

Figure in Sleepstudy example not being reproducible #606

tomicapretto opened this issue Dec 5, 2022 · 2 comments · Fixed by #607
Labels
documentation good first issue If you want to contribute but are not sure where to get started, this issue is for you!

Comments

@tomicapretto
Copy link
Collaborator

Seems the code used to generate the scatterplot is not working anymore

image

I'm trying this but I don't like the end result

idata.posterior.plot.scatter(
    x="1|Subject", y="Days|Subject",
    hue="Subject__factor_dim",
    hue_style="discrete",
    add_colorbar=False,
    add_legend=False,
    ax=ax
)

image

I have ArviZ 0.14.0 and xarray 2022.11.0

@aloctavodia
Copy link
Collaborator

What about?

idata.posterior.plot.scatter(
x="1|Subject", y="Days|Subject",
hue="Subject__factor_dim",
add_colorbar=False,
add_legend=False,
cmap="tab20",
edgecolors=None,
)

índice

@tomicapretto
Copy link
Collaborator Author

looks better!

@tomicapretto tomicapretto added good first issue If you want to contribute but are not sure where to get started, this issue is for you! documentation labels Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation good first issue If you want to contribute but are not sure where to get started, this issue is for you!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants