In [13]:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

np.random.seed(100)

x = np.random.normal(size=10000)
y = np.random.normal(size=10000)

#plt.scatter(x,y)

fig = plt.figure(figsize=(8,8))
ax = fig.add_subplot(1,1,1)

h = ax.hist2d(x,y,bins=50,range=((-3,3),(-3,3)))