@@ -2167,7 +2167,7 @@ def pts_to_prestep(x, *args):
21672167 Parameters
21682168 ----------
21692169 x : array
2170- The x location of the steps.
2170+ The x location of the steps. May be empty.
21712171
21722172 y1, ..., yp : array
21732173 y arrays to be turned into steps; all must be the same length as ``x``.
@@ -2177,7 +2177,8 @@ def pts_to_prestep(x, *args):
21772177 out : array
21782178 The x and y values converted to steps in the same order as the input;
21792179 can be unpacked as ``x_out, y1_out, ..., yp_out``. If the input is
2180- length ``N``, each of these arrays will be length ``2N + 1``.
2180+ length ``N``, each of these arrays will be length ``2N + 1``. For
2181+ ``N=0``, the length will be 0.
21812182
21822183 Examples
21832184 --------
@@ -2204,7 +2205,7 @@ def pts_to_poststep(x, *args):
22042205 Parameters
22052206 ----------
22062207 x : array
2207- The x location of the steps.
2208+ The x location of the steps. May be empty.
22082209
22092210 y1, ..., yp : array
22102211 y arrays to be turned into steps; all must be the same length as ``x``.
@@ -2214,7 +2215,8 @@ def pts_to_poststep(x, *args):
22142215 out : array
22152216 The x and y values converted to steps in the same order as the input;
22162217 can be unpacked as ``x_out, y1_out, ..., yp_out``. If the input is
2217- length ``N``, each of these arrays will be length ``2N + 1``.
2218+ length ``N``, each of these arrays will be length ``2N + 1``. For
2219+ ``N=0``, the length will be 0.
22182220
22192221 Examples
22202222 --------
@@ -2239,7 +2241,7 @@ def pts_to_midstep(x, *args):
22392241 Parameters
22402242 ----------
22412243 x : array
2242- The x location of the steps.
2244+ The x location of the steps. May be empty.
22432245
22442246 y1, ..., yp : array
22452247 y arrays to be turned into steps; all must be the same length as ``x``.
0 commit comments