title: How to plot normal distribution with percentage of data as label in each band/bin?
body: <p>While plotting normal distribution graph of data, how can we put labels like in image below for percentage of data in each bin where each band has a width of 1 standard deviation using matplotlib/seaborn or plotly ? </p>
  
  <p><a href="https://i.stack.imgur.com/i6m08.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i6m08.png" alt="enter image description here"></a></p>
  
  <p>Currently, im plotting like this:</p>
  
  <pre><code>hmean = np.mean(data)
  hstd = np.std(data)
  pdf = stats.norm.pdf(data, hmean, hstd)
  plt.plot(data, pdf)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ZVLha.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZVLha.png" alt="enter image description here"></a></p>