title: How to plot gamma distribution with alpha and beta parameters in python
body: <p>I want to plot a gamma distribution with alpha = 29 (the scale) and beta = 3 (the size). In other words, I want to plot the pdf for Gamma(29,3). How do I do this if according to the <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.gamma.html" rel="noreferrer">documentation</a>, the python gamma function only has parameters a and x and the size parameter doesn't exist? </p>
  
  <p>I thought <code>loc</code> was beta, but I think it's actually offset, so the code below is wrong...</p>
  
  <pre><code>import numpy as np
  import scipy.stats as stats 
  from matplotlib import pyplot as plt
  
  x = np.linspace (0, 100, 200) 
  y1 = stats.gamma.pdf(x, a=29, loc=3) #a is alpha, loc is beta???
  plt.plot(x, y1, "y-", label=(r'$\alpha=29, \beta=3$')) 
  
  
  plt.ylim([0,0.08])
  plt.xlim([0,150])
  plt.show()
  </code></pre>