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