scale the legend

Is it possible to make the relative size of the legend smaller? On my plots, the legend covers half the plot, and nothing I have tried so far seems to shrink the legend.

Thanks!

David

If you use recent version of mpl, the size of the overall legend
should scale with the font size.
See below,

import matplotlib.font_manager
prop = matplotlib.font_manager.FontProperties(size=5)
lagend(prop=prop)

Just in case, my preference in your case is to move the legend outside
of the axes area.
Regards,

-JJ

···

On Wed, Jan 14, 2009 at 9:56 AM, David Geller <dgeller@...287...> wrote:

Is it possible to make the relative size of the legend smaller? On my
plots, the legend covers half the plot, and nothing I have tried so far
seems to shrink the legend.

Thanks!

David

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Well, that is something I did not try! But it works!

Thanks!

D.

Jae-Joon Lee wrote:

···

<dgeller@…287…>http://p.sf.net/sfu/sf-spreadthewordMatplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users