RidgeplotΒΆ

../_images/plot_forest_ridge.png

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

import arviz as az

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

rugby_data = az.load_arviz_data('rugby')
fig, axes = az.plot_forest(rugby_data,
                           kind='ridgeplot',
                           var_names=['defs'],
                           linewidth=4,
                           combined=True,
                           ridgeplot_overlap=1.5,
                           colors='blue',
                           figsize=(9, 4))
axes[0].set_title('Relative defensive strength\nof Six Nation rugby teams')