Skip to content

Instantly share code, notes, and snippets.

@erikaris
Created November 19, 2017 09:32
Show Gist options
  • Save erikaris/9918cfd9cff9cf550d638c63bf196e5a to your computer and use it in GitHub Desktop.
Save erikaris/9918cfd9cff9cf550d638c63bf196e5a to your computer and use it in GitHub Desktop.
# modified from Coursera.org
plt.figure()
Y = np.random.normal(loc=0.0, scale=1.0, size=10000)
X = np.random.random(size=10000)
plt.hist2d(X, Y, bins=25)
plt.colorbar()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment