From: <jk...@ik...> - 2007-03-01 10:13:21
|
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 |