I committed the following change, which seems to fix the bug.
Index: legend.py
···
===================================================================
--- legend.py (revision 3031)
+++ legend.py (working copy)
@@ -315,7 +315,7 @@
raise Exception, 'Auto legends not available for figure legends.'
def get_handles(ax):
- handles = ax.lines
+ handles = ax.lines[:]
handles.extend(ax.patches)
handles.extend([c for c in ax.collections if isinstance(c, LineCollection)])
--
Jouni K. Sepp�nen
http://www.iki.fi/jks
Wow, nasty and subtle. Good work! Now how do I get a doughnut to you
in Finland Any ideas Perry?
JDH
···
On 3/1/07, Jouni K. Seppänen <jks@...278...> wrote:
I committed the following change, which seems to fix the bug.
- handles = ax.lines
+ handles = ax.lines[:]
What, you didn't like the way I did it?
···
On Mar 1, 2007, at 10:15 AM, John Hunter wrote:
On 3/1/07, Jouni K. Seppänen <jks@...278...> wrote:
I committed the following change, which seems to fix the bug.
- handles = ax.lines
+ handles = ax.lines[:]
Wow, nasty and subtle. Good work! Now how do I get a doughnut to you
in Finland Any ideas Perry?
Actually, I think I saved that in the freezer still in the envelope as
a memento -- maybe I can just send that one on to save the dollar!
JDH
···
On 3/1/07, Perry Greenfield <perry@...31...> wrote:
What, you didn't like the way I did it?