scipy.stats._result_classes.EmpiricalDistributionFunction.plot#

EmpiricalDistributionFunction.plot(ax=None, **matplotlib_kwargs)[source]#

Plot the empirical distribution function

Available only if matplotlib is installed.

Parameters:
axmatplotlib.axes.Axes

Axes object to draw the plot onto, otherwise uses the current Axes.

**matplotlib_kwargsdict, optional

Keyword arguments passed directly to matplotlib.axes.Axes.step. Unless overridden, where='post'.

Returns:
lineslist of matplotlib.lines.Line2D

Objects representing the plotted data