staircase.Stairs.plot#
- Stairs.plot(*args, backend='matplotlib', **kwargs)#
Plots the step function.
- Parameters
- ax
matplotlib.axes.Axes
, optional Pre-existing axes to plot onto.
- style{“step”, “hlines”}, default “step”
Indicates whether the plot is based on
matplotlib.axes.Axes.step()
ormatplotlib.axes.Axes.hlines()
- arrowsbool, default False
Whether or not to plot arrows where there exist intervals of infinite length
- arrow_kwargsdict or None, default None
Additional keyword parameters passed to
matplotlib.axes.Axes.arrow()
- ax
- Returns
Examples
>>> s1.plot()
>>> s1.plot(arrows=True)
>>> s1.plot(style="hlines", arrows=True)