Change in linestyle='steps' between 0.91 and 0.98

linestyle='steps' has changed behaviour between 0.91.2 and 0.98.3. The
'step' between two points used to move horizontally and then
vertically from the left point neighbouring right point, now it moves
vertically then horizontally.

Was this change intentional? I hope not, because I've just spent the
past hour working out it was the reason for my plotting routines not
working properly :-/

Neil

Now I see there are more options in 0.98 - 'steps-pre', 'steps-post',
'steps-mid'. The default should be steps-post for backwards
compatibility. In 0.98.3 the default is steps-pre. And sorry for the
testy tone of the previous email :slight_smile:

Neil

2008/8/28 Neil Crighton <neilcrighton@...149...>:

···

linestyle='steps' has changed behaviour between 0.91.2 and 0.98.3. The
'step' between two points used to move horizontally and then
vertically from the left point neighbouring right point, now it moves
vertically then horizontally.

Was this change intentional? I hope not, because I've just spent the
past hour working out it was the reason for my plotting routines not
working properly :-/

Neil

Sorry about that, and thanks for your investigation. It's easy enough to change the default.

I think (and it was a while ago, so I may be misremembering) I probably made that change myself in error. (There used to be two completely separate code paths for doing step plots, that I merged into one).

Any objections? Is it possible that change was made deliberately (to conform with matlab or gnuplot etc.)?

Cheers,
Mike

Neil Crighton wrote:

···

Now I see there are more options in 0.98 - 'steps-pre', 'steps-post',
'steps-mid'. The default should be steps-post for backwards
compatibility. In 0.98.3 the default is steps-pre. And sorry for the
testy tone of the previous email :slight_smile:

Neil

2008/8/28 Neil Crighton <neilcrighton@...149...>:
  

linestyle='steps' has changed behaviour between 0.91.2 and 0.98.3. The
'step' between two points used to move horizontally and then
vertically from the left point neighbouring right point, now it moves
vertically then horizontally.

Was this change intentional? I hope not, because I've just spent the
past hour working out it was the reason for my plotting routines not
working properly :-/

Neil

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA