Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-08-25 Thread Paul Ray
Hi, I just installed matplotlib 0.99.0 and I see that this problem is still there. The command plot(a,ls='steps') is equivalent to plot(a,ls='steps-pre') and both cause the first value of the array to NOT be plotted. This is REALLY not what should happen when one plots an array with

Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-07-19 Thread Paul Ray
Ryan Krauss-2 wrote: RTFM: plot(t,y, drawstyle='steps-post') Actually, 'steps-pre' (which is the default) and 'steps-post' seem to have swapped definitions. Here is what the docs say: *where*: [ 'pre' | 'post' | 'mid' ] If 'pre', the interval from x[i] to x[i+1] has level

Re: [Matplotlib-users] possible bug with linestyle='steps'

2009-07-19 Thread John Hunter
On Fri, Jul 17, 2009 at 5:15 PM, Paul Raypaul@nrl.navy.mil wrote: Ryan Krauss-2 wrote: RTFM: plot(t,y, drawstyle='steps-post') Actually, 'steps-pre' (which is the default) and 'steps-post' seem to have swapped definitions. Here is what the docs say:    *where*: [ 'pre' | 'post' |