Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ce5984

Browse files
committed
fixed Axes.step docstring per sf bug 2823304
svn path=/trunk/matplotlib/; revision=7272
1 parent 25f5a2d commit 1ce5984

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2009-07-19 Fixed the docstring of Axes.step to reflect the correct
2+
meaning of the kwargs "pre" and "post" - See SF bug
3+
https://sourceforge.net/tracker/index.php?func=detail&aid=2823304&group_id=80706&atid=560720
4+
- JDH
5+
16
2009-07-18 Fix support for hatches without color fills to pdf and svg
27
backends. Add an example of that to hatch_demo.py. - JKS
38

lib/matplotlib/axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4109,9 +4109,9 @@ def step(self, x, y, *args, **kwargs):
41094109
Keyword arguments:
41104110
41114111
*where*: [ 'pre' | 'post' | 'mid' ]
4112-
If 'pre', the interval from x[i] to x[i+1] has level y[i]
4112+
If 'pre', the interval from x[i] to x[i+1] has level y[i+1]
41134113
4114-
If 'post', that interval has level y[i+1]
4114+
If 'post', that interval has level y[i]
41154115
41164116
If 'mid', the jumps in *y* occur half-way between the
41174117
*x*-values.

0 commit comments

Comments
 (0)