Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hadrienj/a74823d70972dd55b63d9c2b3bf9ca08 to your computer and use it in GitHub Desktop.
Save hadrienj/a74823d70972dd55b63d9c2b3bf9ca08 to your computer and use it in GitHub Desktop.
np.random.seed(1234)
b1 = np.random.normal(3, 1, 300)
b2 = b1 + np.random.normal(7, 1, 300)/2.
B = np.array([b1, b2]).T
plotDataAndCov(B)
plt.show()
plt.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment