Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 50726ab

Browse filesBrowse files
added some fixes to the documentation of the function pts_to_mid|pre|post_step
1 parent 0612ed5 commit 50726ab
Copy full SHA for 50726ab

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎lib/matplotlib/cbook.py

Copy file name to clipboardExpand all lines: lib/matplotlib/cbook.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.