|
From: John H. <jdh...@ac...> - 2005-02-09 22:55:10
|
>>>>> "Fernando" == Fernando Perez <Fer...@co...> writes:
Fernando> Well, the funny thing about my sometimes-odd results, is
Fernando> that in python 2.3, list.sort _is_ stable:
Fernando> http://py-stablesort.sourceforge.net/doc/2002_07_28_pythonowns_archive.html
Fernando> http://mail.python.org/pipermail/python-list/2003-April/160326.html
Fernando> So I'm not quite sure why I get odd results in a few
Fernando> cases. And I can't seem to find a reliable way to
Fernando> repeat the behavior.
Hmm, I hesitate to say this, but I wonder if it's a bug in the stable
sort. I also see the behavior you describe in ipython --
intermittently the order is wrong. But when I add the extra ind to
the axes dsu sort, I never get it.
Changes in CVS. Make sure you have revision - CHANGELOG 1.270
Fernando> But thanks for the clarification on the zorder argument,
Fernando> that's enough for me to get the behavior I need.
Fernando> I'll update the zorder_demo example with a more explicit
Fernando> docstring so others don't fall into the same confusion.
Thanks.
JDH
|