Plotnorm

Plot the normal distribution for a mean of zero and a standard deviation of one (blue) and two (red)
import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm x1 = np.arange(-3, 3, 0.001) x2 = np.arange(-3, 3, 0.001) plt.plot(x1, norm.pdf(x1, 0, 1)) plt.plot(x2, norm.pdf(x2, 0, 2), color='red', linewidth=3) plt.show
 * 1) !/usr/bin/python3