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 y[i] If 'post', that interval has level y[i+1] If 'mid', the jumps in *y* occur half-way between the *x*-values. In fact both the default behavior and what you get with steps-pre are what SHOULD happen with steps-post. And steps-post (as you point out) does what should be the default behavior and that of steps-pre. I have filed a bug report on this, since it is very important that this work as expected. As the original poster pointed out, this used to work correctly but recently seems to have gotten broken. Cheers, -- Paul -- View this message in context: http://www.nabble.com/possible-bug-with-linestyle%3D%27steps%27-tp23568959p24542440.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users