Skip to content

Instantly share code, notes, and snippets.

@SaraM92
Last active July 17, 2020 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SaraM92/d0830487a60c7e2d05d42013ed61933b to your computer and use it in GitHub Desktop.
Save SaraM92/d0830487a60c7e2d05d42013ed61933b to your computer and use it in GitHub Desktop.
#Import Essential Libraries
import numpy as np
import matplotlib.pyplot as plt
import scipy.stats as stat
#Normal Distribution
n = np.arange(-100, 100)
mean = 0
sd = 15
normalDist = stat.norm.pdf(n, mean, sd)
plt.plot(n, normalDist, color="#8d0801")
plt.xlabel('Distribution', fontsize=15 ,color="#001427")
plt.ylabel('Probability', fontsize=15, color="#001427")
plt.title("Normal Distribution", color="#001427")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment