import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import norm, t
# Plot between -10 and 10 with .001ps.
x_axis = np.arange(-10, 10, 0.001)
dist = t(10, 0)
# Mean = 0, SD = 2.
plt.plot(x_axis, dist.pdf(x_axis))
plt.xlabel('Distance between points');
plt.ylabel('Probability of selection as neighbor');