Re: [matplotlib-devel] strange alpha legend bug

2007-03-01 Thread Jouni K . Seppänen
"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

Re: [matplotlib-devel] strange alpha legend bug

2007-03-01 Thread John Hunter
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

Re: [matplotlib-devel] strange alpha legend bug

2007-03-01 Thread Perry Greenfield
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

Re: [matplotlib-devel] strange alpha legend bug

2007-03-01 Thread John Hunter
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? J

Re: [matplotlib-devel] strange alpha legend bug

2007-03-01 Thread Jouni K . Seppänen
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

Re: [matplotlib-devel] strange alpha legend bug

2007-02-28 Thread Jouni K . Seppänen
"John Hunter" <[EMAIL PROTECTED]> writes: > I suspect we are screwing up somewhere in the way we copy properties > from legended objects to their legend proxies (ie we are reversing > this somewhere and copying properties from a proxy to the axes Here's at least a clue: change your alphas from 0.

[matplotlib-devel] strange alpha legend bug

2007-02-28 Thread John Hunter
a doughnut to the developer who can figure this one out for me! If you resize the figure window slightly, the alpha channel gets whacked on the rectangles. This only happens if the legend is added to the axes -- comment that out and the alpha channel is fine. I suspect we are screwing up somewhe