Skip to content

Instantly share code, notes, and snippets.

@kratsg
Created January 27, 2015 16:47
Show Gist options
  • Save kratsg/4fb2e9add37bb35a37ba to your computer and use it in GitHub Desktop.
Save kratsg/4fb2e9add37bb35a37ba to your computer and use it in GitHub Desktop.
test python example
import numpy as np
import matplotlib.pyplot as pl
x = np.random.randn(10000)
y = np.random.randn(10000)+5
pl.figure()
pl.hist2d(x, y, bins=40, cmap=pl.cm.hot_r)
pl.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment