Skip to content

Instantly share code, notes, and snippets.

@ISDementyev
Created April 3, 2022 17:33
Show Gist options
  • Save ISDementyev/6c6cb4d4e3451544c4a68f2f3f809339 to your computer and use it in GitHub Desktop.
Save ISDementyev/6c6cb4d4e3451544c4a68f2f3f809339 to your computer and use it in GitHub Desktop.
Creates proper probability distribution histogram
# Add this keyword into plt.hist: weights=np.ones(len(data)) / len(data)
# Also make sure that density=False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment