This should now be fixed (maintenance & trunk). John, I guess I found what I did wrong last time. I used emacs svn interface for committing and it seems that some of the properties are not properly committed. This time, I simply used the shell command. let me know if I messed up again.
-JJ ps. John, are you releasing a new maintenance version? I'm afraid that my previous patch broke one of the example. Sorry, I thought the fix was obvious and didn't pay much attention. On Tue, Dec 16, 2008 at 5:18 PM, Jae-Joon Lee <lee.j.j...@gmail.com> wrote: > On Tue, Dec 16, 2008 at 4:02 PM, Jouni K. Seppänen <j...@iki.fi> wrote: >> "Jae-Joon Lee" <lee.j.j...@gmail.com> writes: >> >>> So, Lebostein and j, if you know how to check out using svn, can you >>> give a try either the svn trunk or the maintenance branch? I'm >>> attaching the patch just in case. >> >> On the svn trunk, the demo examples/api/legend_demo.py now fails at >> "leg.get_texts()" with "AttributeError: 'Legend' object has no attribute >> 'texts'". Calling show() seems to fix the legend so that get_texts >> works, so I suspect that the bug is related to the _init_legend_box call >> that your patch removes. >> >> -- >> Jouni K. Seppänen >> http://www.iki.fi/jks >> > > I also see the problem. > And, yes, this is related with _init_legend_box. As the paddings and > such need to be determined at drawing time, I moved this into the > draw() method. > The fix may involve some rearrangement of the code. > I'll work on it. > > Thanks, > > -JJ > > > >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users