- ProbPlot.qqplot(xlabel=None, ylabel=None, line=None, other=None, ax=None, swap=False, **plotkwargs)¶
Plot of the quantiles of x versus the quantiles/ppf of a distribution.
Can also be used to plot against the quantiles of another ProbPlot instance.
User-provided labels for the x-axis. If None (default), other values are used depending on the status of the kwarg other.
User-provided labels for the y-axis. If None (default), other values are used depending on the status of the kwarg other.
None, “45”, “s”, “r”, q”},
Options for the reference line to which the data is compared:
“45” - 45-degree line
“s” - standardized line, the expected order statistics are scaled by the standard deviation of the given sample and have the mean added to them
“r” - A regression line is fit
“q” - A line is fit through the quartiles.
None - by default no reference line is added to the plot.
If provided, the sample quantiles of this ProbPlot instance are plotted against the sample quantiles of the other ProbPlot instance. Sample size of other must be equal or larger than this ProbPlot instance. If the sample size is larger, sample quantiles of other will be interpolated to match the sample size of this ProbPlot instance. If an array-like object is provided, it will be turned into a ProbPlot instance using default parameters. If not provided (default), the theoretical quantiles are used.
If given, this subplot is used to plot in instead of a new figure being created.
Flag indicating to swap the x and y labels.
Additional arguments to be passed to the plot command.
If ax is None, the created figure. Otherwise the figure to which ax is connected.