arviz-devs / preliz

A tool-box for prior elicitation.
https://preliz.readthedocs.io
Apache License 2.0
73 stars 9 forks source link

Cannot see moments label from plot_pdf, plot_cdf in Jupyter Notebook #470

Closed random-walkie closed 1 month ago

random-walkie commented 1 month ago

Describe the bug Calling the moments label from plot_pdf, plot_cdf does not print it in the graph's legend, in Jupyter Notebook.

To Reproduce You should be able to reproduce the bug from this commit: https://github.com/random-walkie/pymc_bayesian/commit/1cac891603dffd056aa09c3399875d66779ac3e1

Expected behavior Expected labels for mean and standard deviation moments to be printed in the plot legend.

Additional context Versions of preliz and other libraries used, operating system used, and anything else that may be useful: listed in requirements.txt and above.

aloctavodia commented 1 month ago

Thanks for reporting this issue it should be fixed soon. Once the associated PR is merged you can install PreliZ from GitHub (main branch) or wait until the next release.

aloctavodia commented 1 month ago

It should be fixed on preliz 0.8.1