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

Fix ICE plot when there is a discrete variable #107

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

juanitorduz
Copy link
Contributor

@juanitorduz juanitorduz commented Jul 11, 2023

Closes #106

  • Fix issue.
  • Add tests.

This change produces the expected plot:

pmb.plot_ice(μ, X=X, Y=Y, grid=(2, 2), func=np.exp, var_discrete=[0])

image

@aloctavodia
Copy link
Member

Should we use a different representation for discrete variables (no need to be addressed as part of this PR). Maybe dots + dashed lines? Otherwise with only dots is difficult to see the different instances

@juanitorduz
Copy link
Contributor Author

I actually don't mind the points but all suggestions are welcome :)

@aloctavodia aloctavodia merged commit 2be60af into pymc-devs:main Jul 11, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

ICE plot does not work in v0.5.0 when there is a discrete variable
2 participants