@@ -1810,19 +1810,24 @@ def step(self, x, y, *args, **kwargs):
1810
1810
"""
1811
1811
Make a step plot.
1812
1812
1813
- Call signature::
1814
-
1815
- step(x, y, *args, **kwargs)
1816
-
1817
- Additional keyword args to :func:`step` are the same as those
1818
- for :func:`~matplotlib.pyplot.plot`.
1813
+ Parameters
1814
+ ----------
1815
+ x : array_like
1816
+ 1-D sequence, and it is assumed, but not checked,
1817
+ that it is uniformly increasing.
1819
1818
1820
- *x* and *y* must be 1-D sequences, and it is assumed, but not checked,
1821
- that *x* is uniformly increasing.
1819
+ y : array_like
1820
+ 1-D sequence, and it is assumed, but not checked,
1821
+ that it is uniformly increasing.
1822
1822
1823
- Keyword arguments:
1823
+ Returns
1824
+ -------
1825
+ out : list
1826
+ List of lines that were added.
1824
1827
1825
- *where*: [ 'pre' | 'post' | 'mid' ]
1828
+ Other parameters
1829
+ ---------------------
1830
+ where : [ 'pre' | 'post' | 'mid' ]
1826
1831
If 'pre' (the default), the interval from x[i] to x[i+1] has level
1827
1832
y[i+1].
1828
1833
@@ -1831,7 +1836,10 @@ def step(self, x, y, *args, **kwargs):
1831
1836
If 'mid', the jumps in *y* occur half-way between the
1832
1837
*x*-values.
1833
1838
1834
- Return value is a list of lines that were added.
1839
+ Note
1840
+ ----
1841
+ Additional parameters are the same as those for :func:`~matplotlib.pyplot.plot`.
1842
+
1835
1843
"""
1836
1844
1837
1845
where = kwargs .pop ('where' , 'pre' )
0 commit comments