title: getting mean and standard deviation from best-fit normal distribution using seaborn library
body: <p>I have a set of data and I used <code>seaborn</code> library to plot the histogram, apply kernel density estimate and fit a normal distribution to the data. However I would like to extract the <strong>mean</strong> and <strong>standard deviation</strong> of the best-fit normal distribution. How could I get these values as outputs from the function <code>distplot</code> of this library?
  My code:</p>
  <pre><code>import seaborn as sns
  from scipy.stats import norm 
  sns.set_style(&quot;darkgrid&quot;)
  sns.set_context(&quot;paper&quot;, font_scale=1, rc={&quot;lines.linewidth&quot;: 1.5, &quot;axes.linewidth&quot;: 1.0, &quot;axes.labelsize&quot;: 15, &quot;xtick.labelsize&quot;: 10, &quot;ytick.labelsize&quot;: 10, &quot;font.family&quot;:'serif','font.serif':'Ubuntu'})
  
  fig, axes = plt.subplots(1, 1, figsize=(10, 10))
  sns.distplot(C,
              fit=norm, kde=True,
              fit_kws ={&quot;color&quot;: &quot;#fc4f30&quot;, &quot;lw&quot;: 1.5},
              kde_kws={&quot;color&quot;: &quot;y&quot;, &quot;lw&quot;: 1.5},
              hist_kws={&quot;histtype&quot;: &quot;stepfilled&quot;, &quot;linewidth&quot;: 1, &quot;alpha&quot;: 0.1, &quot;color&quot;: &quot;b&quot;},
              norm_hist=True, ax=axes[0,0])
  </code></pre>
  <p>A bug in <code>seaborn</code> library is that, it doesn't generate the label for the fitted normal distribution but it does for histogram or kernel density.<br />
  <a href="https://i.stack.imgur.com/Zfzmn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zfzmn.png" alt="enter image description here" /></a></p>
  <p>How can I get the normal distribution parameters and make a label for it in the plot?</p>