Skip to content

Instantly share code, notes, and snippets.

@erikaris
Created November 16, 2017 01:12
Show Gist options
  • Save erikaris/69b28871eca783e1e797f5b4cc5de07e to your computer and use it in GitHub Desktop.
Save erikaris/69b28871eca783e1e797f5b4cc5de07e to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
k = np.array([1, 4, 9, 16, 25, 36, 49, 64])
plt.figure()
y,bins,p=plt.hist(k, edgecolor='black')
print("", y, "\n", bins, "\n", p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment