From fc969780bc42921f232c4a2c6e1f1442d3c44dad Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Mon, 25 May 2015 14:46:27 -0700 Subject: [PATCH] Minor improvements to the docstring of `step`. --- lib/matplotlib/axes/_axes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 9e11d0d4530f..5a477fc308f7 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -1790,12 +1790,15 @@ def step(self, x, y, *args, **kwargs): Keyword arguments: *where*: [ 'pre' | 'post' | 'mid' ] - If 'pre', the interval from x[i] to x[i+1] has level y[i+1] + If 'pre' (the default), the interval from x[i] to x[i+1] has level + y[i+1]. - If 'post', that interval has level y[i] + If 'post', that interval has level y[i]. If 'mid', the jumps in *y* occur half-way between the *x*-values. + + Return value is a list of lines that were added. """ where = kwargs.pop('where', 'pre')