Re: [matplotlib-devel] strange alpha legend bug
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
Re: [matplotlib-devel] strange alpha legend bug
On 3/1/07, Jouni K. Seppänen <[EMAIL PROTECTED]> 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? JDH - 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
Re: [matplotlib-devel] strange alpha legend bug
On Mar 1, 2007, at 10:15 AM, John Hunter wrote: > On 3/1/07, Jouni K. Seppänen <[EMAIL PROTECTED]> 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? What, you didn't like the way I did it? ;-) - 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
Re: [matplotlib-devel] strange alpha legend bug
On 3/1/07, Perry Greenfield <[EMAIL PROTECTED]> wrote: > What, you didn't like the way I did it? ;-) 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 - 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
Re: [matplotlib-devel] strange alpha legend bug
"John Hunter" <[EMAIL PROTECTED]> writes: > 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! That sounds like something that could get me in trouble with Finnish customs officials. I may have an opportunity to visit San Jose in August -- that's at least on the same continent as you, right? :-) -- 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
