// Also plot the dataset itself, for reference
ax_pos.scatter(x, y, s=0.5)
// Mark the mean ("mu")
ax_pos.scatter([mu_pos[0]], [mu_pos[1]], c="red", s=3)
ax_pos.set_title(f"Positive correlation")
// Demo top middle: negative correlation
After Change
// Use the kwargs specified for matplotlib.patches.Patch in order
// to have the ellipse rendered in different ways.
fig, ax_kwargs = plt.subplots(figsize=(6, 6))
dependency_kwargs = np.array([
[-0.8, 0.5],
[-0.2, 0.5]
])