ArviZ is a Python package for exploratory analysis of Bayesian models. It provides tools for diagnostics, visualization, and inference data management, working with various probabilistic programming frameworks. Version 1.0.0 is the current major release, and the project has a regular, active release cadence.
pip install arvizVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create a basic `InferenceData` object (often loaded from a model output) and use ArviZ to plot a trace and generate summary statistics. It uses `numpy` for data simulation and `arviz` for analysis and visualization.
Upgrade your Python environment to 3.12+ or use an older ArviZ version compatible with your Python (e.g., `pip install arviz<1.0`).
Migrate any workflows relying on direct R-to-Python conversion via `from_rpy2` to alternative data transfer methods, or use an older ArviZ version if this functionality is critical.
Review release notes for v0.13.0 and explicitly specify arguments like `combined`, `kind`, `pointwise` if you relied on previous default behaviors to ensure consistent output.
Install ArviZ using pip: `pip install arviz`.
Downgrade ArviZ to version 0.11.0 using conda: `conda install -c conda-forge arviz=0.11.0`.
Ensure compatibility between PyMC3 and ArviZ versions, or update code to use the current ArviZ plotting functions.
Use 'az.extract_dataset()' instead of 'az.extract()'.
Replace 'pm.traceplot()' with 'az.plot_trace()'.
No dependency data recorded yet.