ArviZ-plots is a new Python library (v1.0.0) designed to provide ready-to-use and composable plots specifically for Bayesian workflow. It offers a flexible and modular plotting interface, building upon ArviZ's `InferenceData` object for modern visualization needs. As a `1.0.0` release, it aims for API stability in future patch versions.
pip install arviz-plotsVerified import paths — ran on the pinned version, not inferred.
This example loads sample Bayesian inference data using ArviZ and then generates a pair plot using ArviZ-plots, demonstrating the core `plot_pair` function.
Ensure your data is loaded or converted into an `arviz.InferenceData` object before passing it to ArviZ-plots functions. Use `arviz.InferenceData` or `arviz.from_pymc`/`from_stan` etc.
Consult the `arviz-plots` documentation for available functions and their specific usage. Do not assume a 1:1 migration path from `arviz.plot`.
Upgrade your Python environment to version 3.12 or newer. Use `pyenv` or `conda` to manage multiple Python versions if necessary.
Pin your `arviz-plots` dependency to `~1.0` if strict API stability is required for a production environment. Review migration guides for future major versions.
Run `pip install arviz-plots` to install the package.
Pass an `arviz.InferenceData` object as the first argument, e.g., `plot_pair(idata)`.
Upgrade your Python environment to version 3.12 or newer. Consider using a virtual environment with the correct Python version.