plotnine.stat_qq
stat_qq(mapping=None, data=None, **kwargs)Calculation for quantile-quantile plot
{usage}
Parameters
distribution : str = "norm"-
Distribution or distribution function name. The default is norm for a normal probability plot. Objects that look enough like a stats.distributions instance (i.e. they have a ppf method) are also accepted. See scipy stats for available distributions.
dparams : dict = None-
Distribution-specific shape parameters (shape parameters plus location and scale).
quantiles : array_like = None-
Probability points at which to calculate the theoretical quantile values. If provided, must be the same number as as the sample data points. The default is to use calculated theoretical points, use to
alpha_betacontrol how these points are generated. alpha_beta : tuple = (3/8, 3/8)-
Parameter values to use when calculating the quantiles.
See Also
geom_qq-
The default
geomfor thisstat. plotting_positions-
Uses
alpha_betato calculate the quantiles.