title: Equivalent of qqplot of R in Python
body: <p>I am trying to compare 2 distributions in python using qqplots. In <code>R</code> it's straightforward to use <code>qqplot()</code> like so:</p>
  
  <pre><code>qqplot(beaver2$temp[beaver2$activ==1],beaver2$temp[beaver2$activ==0])
  </code></pre>
  
  <p>Which will compare 2 distributions. Is there similar way to do in <strong>Python</strong>?</p>
  
  <pre><code>Y=np.random.normal(0.5,0.1,1000)
  Y_hat=np.random.gamma(0.5,0.2,1000)
  </code></pre>
  
  <p>One option is to get the residuals of 2 sets and plot a <code>qqplot</code> against <code>Normal Distribution</code></p>