@@ -2331,7 +2331,7 @@ def pts_to_prestep(x, *args):
23312331
23322332 Given a set of N points convert to 2 N -1 points
23332333 which when connected linearly give a step function
2334- which changes values at the begining the intervals.
2334+ which changes values at the beginning of the intervals.
23352335
23362336 Parameters
23372337 ----------
@@ -2371,7 +2371,7 @@ def pts_to_poststep(x, *args):
23712371
23722372 Given a set of N points convert to 2 N -1 points
23732373 which when connected linearly give a step function
2374- which changes values at the begining the intervals.
2374+ which changes values at the end of the intervals.
23752375
23762376 Parameters
23772377 ----------
@@ -2392,7 +2392,7 @@ def pts_to_poststep(x, *args):
23922392
23932393 Examples
23942394 --------
2395- >> x_s, y1_s, y2_s = pts_to_prestep (x, y1, y2)
2395+ >> x_s, y1_s, y2_s = pts_to_poststep (x, y1, y2)
23962396 """
23972397 # do normalization
23982398 vertices = _step_validation (x , * args )
@@ -2412,7 +2412,7 @@ def pts_to_midstep(x, *args):
24122412
24132413 Given a set of N points convert to 2 N -1 points
24142414 which when connected linearly give a step function
2415- which changes values at the begining the intervals.
2415+ which changes values at the middle of the intervals.
24162416
24172417 Parameters
24182418 ----------
@@ -2433,7 +2433,7 @@ def pts_to_midstep(x, *args):
24332433
24342434 Examples
24352435 --------
2436- >> x_s, y1_s, y2_s = pts_to_prestep (x, y1, y2)
2436+ >> x_s, y1_s, y2_s = pts_to_midstep (x, y1, y2)
24372437 """
24382438 # do normalization
24392439 vertices = _step_validation (x , * args )
0 commit comments