{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _survival / EmpiricalDistributionFunction / plot

function

scipy.stats._survival:EmpiricalDistributionFunction.plot

source: /scipy/stats/_survival.py :72

Signature

def   plot ( self ax = None ** matplotlib_kwargs )

Summary

Plot the empirical distribution function

Extended Summary

Available only if matplotlib is installed.

Parameters

ax : matplotlib.axes.Axes

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

**matplotlib_kwargs : dict, optional

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

Returns

lines : list of `matplotlib.lines.Line2D`

Objects representing the plotted data

Aliases

  • scipy.stats._survival.EmpiricalDistributionFunction.plot