Energy Plot#

See also

API Documentation: plot_energy()

../_images/mpl_plot_energy.png

import matplotlib.pyplot as plt

import arviz as az

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

data = az.load_arviz_data("centered_eight")
ax = az.plot_energy(data, fill_color=("C0", "C1"))

ax.set_title("Energy Plot")

plt.show()

import arviz as az

data = az.load_arviz_data("centered_eight")
ax = az.plot_energy(data, figsize=(12, 8), backend="bokeh")