#NEWLINE# def probplot( self , xlabel = None , ylabel = None , line = None , exceed = False , ax = None , **plotkwargs ) : #NEWLINE# #INDENT# "\n        Probability plot of the unscaled quantiles of x versus the\n        probabilities of a distibution (not to be confused with a P-P plot).\n\n        The x-axis is scaled linearly with the quantiles, but the probabilities\n        are used to label the axis.\n\n        Parameters\n        ----------\n        xlabel, ylabel : str or None, optional\n            User-provided lables for the x-axis and y-axis. If None (default),\n            other values are used depending on the status of the kwarg `other`.\n        line : str {'45', 's', 'r', q'} or None, optional\n            Options for the reference line to which the data is compared:\n\n            - '45' - 45-degree line\n            - 's' - standardized line, the expected order statistics are scaled\n              by the standard deviation of the given sample and have the mean\n              added to them\n            - 'r' - A regression line is fit\n            - 'q' - A line is fit through the quartiles.\n            - None - by default no reference line is added to the plot.\n\n        exceed : boolean, optional\n\n             - If False (default) the raw sample quantiles are plotted against\n               the theoretical quantiles, show the probability that a sample\n               will not exceed a given value\n             - If True, the theoretical quantiles are flipped such that the\n               figure displays the probability that a sample will exceed a\n               given value.\n        ax : Matplotlib AxesSubplot instance, optional\n            If given, this subplot is used to plot in instead of a new figure\n            being created.\n        **plotkwargs : additional matplotlib arguments to be passed to the\n            `plot` command.\n\n        Returns\n        -------\n        fig : Matplotlib figure instance\n            If `ax` is None, the created figure.  Otherwise the figure to which\n            `ax` is connected.\n        " #NEWLINE# if exceed : #NEWLINE# #INDENT# ( fig , ax ) = _do_plot ( self . theoretical_quantiles [ : : ( - 1 ) ] , self . sorted_data , self . dist , ax = ax , line = line , ** plotkwargs ) #NEWLINE# if ( xlabel is None ) : #NEWLINE# #INDENT# xlabel = 'Probability of Exceedance (%)' #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# ( fig , ax ) = _do_plot ( self . theoretical_quantiles , self . sorted_data , self . dist , ax = ax , line = line , ** plotkwargs ) #NEWLINE# if ( xlabel is None ) : #NEWLINE# #INDENT# xlabel = 'Non-exceedance Probability (%)' #NEWLINE# #UNINDENT# #UNINDENT# if ( ylabel is None ) : #NEWLINE# #INDENT# ylabel = 'Sample Quantiles' #NEWLINE# #UNINDENT# ax . set_xlabel ( xlabel ) #NEWLINE# ax . set_ylabel ( ylabel ) #NEWLINE# _fmt_probplot_axis ( ax , self . dist , self . nobs ) #NEWLINE# return fig