-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
plot_posterior and plot_density give a mode outside of the hdi #1549
Comments
HI @gdindi thanks for taking the time to report this issue. I am not able to reproduce this error, could you share your data or share a minimal working example? |
Hi, Here goes a minimal working example:
Thank you. |
Thanks. I find the problem and I will fix it later today. |
Thank you. I am using arviz from conda-forge. What is the recommended way to be able to use the fixed code? |
@gdindi To install the version from master use |
Short Description
I am plotting densities and I ask for a point estimate as 'mode'. The value of the mode is outside of the HDI.
Code Example or link
az.plot_posterior(inference_data, point_estimate = 'mode', hdi_prob = 0.9, var_names = ('a', 'b', 'c', 'sigma_lai'), figsize=(10,5), grid=(2,2))
The result looks like this https://postimg.cc/K4RpK4gg
az.version
Out[88]: '0.11.1'
The text was updated successfully, but these errors were encountered: