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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel