8000 Merge pull request #8968 from dstansby/step-docstring · matplotlib/matplotlib@723e47b · GitHub
[go: up one dir, main page]

Skip to content

Commit 723e47b

Browse files
authored
Merge pull request #8968 from dstansby/step-docstring
DOC: Correct step docstring
2 parents 51cfbd8 + 8bb161d commit 723e47b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,8 +1834,7 @@ def step(self, x, y, *args, **kwargs):
18341834
that it is uniformly increasing.
18351835
18361836
y : array_like
1837-
1-D sequence, and it is assumed, but not checked,
1838-
that it is uniformly increasing.
1837+
1-D sequence
18391838
18401839
Returns
18411840
-------
@@ -1846,9 +1845,9 @@ def step(self, x, y, *args, **kwargs):
18461845
----------------
18471846
where : [ 'pre' | 'post' | 'mid' ]
18481847
If 'pre' (the default), the interval from
1849-
x[i] to x[i+1] has level y[i+1].
1848+
``x[i]`` to ``x[i+1]`` has level ``y[i+1]``.
18501849
1851-
If 'post', that interval has level y[i].
1850+
If 'post', that interval has level ``y[i]``.
18521851
18531852
If 'mid', the jumps in *y* occur half-way between the
18541853
*x*-values.

0 commit comments

Comments
 (0)
0