2d KDEΒΆ

../../_images/mpl_plot_kde_2d.png

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

API documentation: plot_kde

import arviz as az
import numpy as np

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

az.plot_kde(np.random.rand(100), np.random.rand(100))