Is it legend(loc='auto') or legend(loc='best')? I always used the latter. I think that http://matplotlib.org/api/legend_api.html supports me here.
-Sterling On Jan 31, 2014, at 8:31AM, Benjamin Root wrote: > I would also like to point out that you can specify "auto" for a location, > and matplotlib will attempt to find a good location for you (within the plot > area). It isn't perfect, but it can be useful. > > Cheers! > Ben Root > > > On Fri, Jan 31, 2014 at 7:02 AM, Skip Montanaro <s...@pobox.com> wrote: > > 1. PNG file of figure without legend. > > 2. PNG file of legend only. > > > > The end user would import both images into another tool (e.g. microsoft > > power point) and arrange figure and legend interactively for the final > > product. > > As someone pointed out to me not long ago, you can call > > my_legend.draggable(True) > > then drag the legend where you want (in normal pointer mode). Then you > just need to save the figure and not worry about fiddling with it > later. > > Skip Montanaro > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users