Re: [Matplotlib-users] vertical padding in legend

2008-10-05 Thread Jae-Joon Lee
Done, except that it just raises a warning, and still works with the old kwarg. The new kwarg is borderpad; it is used if pad==0, which is the new rc default. I set the default borderpad=0.5. There is still too much other positioning in legend that is based on axes units. I briefly tried

Re: [Matplotlib-users] vertical padding in legend

2008-10-04 Thread Eric Firing
John Hunter wrote: On Tue, Sep 30, 2008 at 5:07 PM, Jae-Joon Lee [EMAIL PROTECTED] wrote: The problem is already well explained by Eric. And my solution is to interpret the legend.pad as a fraction of the textsize (pad=0.3 seems to work fine in my eyes). Note that this breaks the backward

Re: [Matplotlib-users] vertical padding in legend

2008-09-30 Thread Jae-Joon Lee
Hello, I just had a quick look at this problem. And I'm posting a quick solution in case Christoper haven't dig it yet. Index: lib/matplotlib/legend.py === --- lib/matplotlib/legend.py(revision 6138) +++