def qqplot(data, dist=stats.norm, distargs=(), a=0, loc=0, scale=1, fit=False, line=None, ax=None):
 probplot = ProbPlot(data, dist=dist, distargs=distargs, fit=fit, a=a, loc=loc, scale=scale)
 fig = probplot.qqplot(ax=ax, line=line)
 return fig

def qqplot ( data , dist = stats . norm , distargs = ( ) , a = 0 , loc = 0 , scale = 1 , fit = False , line = None , ax = None ) : probplot = ProbPlot ( data , dist = dist , distargs = distargs , fit = fit , a = a , loc = loc , scale = scale ) fig = probplot . qqplot ( ax = ax , line = line ) return fig
q-q plot of the quantiles of x versus the quantiles/ppf of a distribution .