title: Weibull distribution and the data in the same figure (with numpy and scipy)
body: <p>Here is my data: <a href="https://www.dropbox.com/s/xx02015pbr484es/Book2.xlsx" rel="nofollow noreferrer">https://www.dropbox.com/s/xx02015pbr484es/Book2.xlsx</a></p>
  
  <p>This is my output:
  <img src="https://i.stack.imgur.com/OSQRF.png" alt="enter image description here"></p>
  
  <p>And this is the desired output: 
  <img src="https://i.stack.imgur.com/l2u0i.png" alt="enter image description here"></p>
  
  <p>As you can see,I want "the data" and the "Weibull distribution" together, (in the same figure).</p>
  
  <p>This is my code:</p>
  
  <pre><code>(loc, scale) = s.exponweib.fit_loc_scale(mydata, 0.5, 0.5)
  print loc, scale
  x = np.linspace(mydata.min(), mydata.max(), 1000)
  plt.plot(mydata, weib(mydata, loc, scale))
  plt.hist(mydata, mydata.max(), normed=True)
  plt.show()
  </code></pre>