| [ Web Proxy ] |
| Viewing: https://matplotlib.org/users/../examples/mplot3d/../../api/_as_gen/matplotlib.axes.Axes.stairs.html | [Back] [Original] |
Draw a stepwise constant function as a line or a filled plot.
edges define the x-axis positions of the steps. values the function values between these steps. Depending on fill, the function is drawn either as a continuous line with vertical segments at the edges, or as a filled area.
The step heights.
The step positions, with len(edges) == len(vals) + 1,
between which the curve takes on vals values.
The direction of the steps. Vertical means that values are along the y-axis, and edges are along the x-axis.
The bottom value of the bounding edges or when
fill=True, position of lower edge. If fill is
True or an array is passed to baseline, a closed
path is drawn.
If None, then drawn as an unclosed Path.
Whether the area under the step curve should be filled.
Passing both fill=True` and ``baseline=None will likely result in
undesired filling: the first and last points will be connected
with a straight line and the fill will be between this line and the stairs.
StepPatchIf given, all parameters also accept a string s, which is
interpreted as data[s] if s is a key in data.
StepPatch properties
matplotlib.axes.Axes.stairs#| Web Proxy Viewer | New URL | Original Page |