Traceplot circular variablesΒΆ

../../_images/mpl_plot_trace_circ.png

Python source code: [download source: mpl_plot_trace_circ.py]

API documentation: plot_trace()

import matplotlib.pyplot as plt

import arviz as az

az.style.use("arviz-darkgrid")

data = az.load_arviz_data("glycan_torsion_angles")
az.plot_trace(data, var_names=["tors", "E"], circ_var_names=["tors"])

plt.show()