Skip to content

Commit fc96978

Browse files
committed
Minor improvements to the docstring of step.
1 parent 389e697 commit fc96978

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/matplotlib/axes/_axes.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -1790,12 +1790,15 @@ def step(self, x, y, *args, **kwargs):
17901790
Keyword arguments:
17911791
17921792
*where*: [ 'pre' | 'post' | 'mid' ]
1793-
If 'pre', the interval from x[i] to x[i+1] has level y[i+1]
1793+
If 'pre' (the default), the interval from x[i] to x[i+1] has level
1794+
y[i+1].
17941795
1795-
If 'post', that interval has level y[i]
1796+
If 'post', that interval has level y[i].
17961797
17971798
If 'mid', the jumps in *y* occur half-way between the
17981799
*x*-values.
1800+
1801+
Return value is a list of lines that were added.
17991802
"""
18001803

18011804
where = kwargs.pop('where', 'pre')

0 commit comments

Comments
 (0)