title: plot a normal distribution curve and histogram
body: <p>Please, I want to know how I can plot a normal distribution plot.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>import numpy as np
  import scipy.stats as stats
  import pylab as pl
  
  h=[27.3,27.6,27.5,27.6,27.3,27.6,27.9,27.5,27.4,27.5,27.5,27.4,27.1,27.0,27.3,27.4]
  
  fit = stats.norm.pdf(h, np.mean(h), np.std(h))  #this is a fitting indeed
  
  pl.plot(h,fit,'-o')
  pl.hist(h,density=True)      #use this to draw histogram of your data
  pl.show()                    #use may also need add this
  </code></pre>
  
  <p>I tried this but the curve is very rough.</p>