lib.samples.plotting.plot_normal_2d¶
- lib.samples.plotting.plot_normal_2d(ax, mean=0, covariance=1.0, sigmas=2, **kwargs)¶
Plot 2D normal distribution.
- Parameters
ax (matplotlib.axes.Axes) – Axes where to plot distribution.
mean (float, array, default=0) – Distribution mean. If array, must be 1D.
covariance (float, array, default=None) – Distribution covariance. If 1D array, must contain \((\sigma_{xx}, \sigma_{yy}, \sigma_{xy})\) If 2D array, covariance matrix.
kwargs (dict) – Arguments for
plot_contour_2d().