Re: [Matplotlib-users] how to center a legend

2009-05-05 Thread Alan G Isaac
> Alan said: >> Ideally I'd be able to do something like >> lgd.set_items(lgd.get_items()[slice]) On 5/5/2009 1:35 PM Jae-Joon Lee apparently wrote: > It is quite hard to modify the order of items once the legend is created. > Thus, I recommend you to order your items before creating the legend

Re: [Matplotlib-users] how to center a legend

2009-05-04 Thread Jae-Joon Lee
On Mon, May 4, 2009 at 10:47 PM, Alan G Isaac wrote: > The docs > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend > suggest that > loc=(0.5,0.5) > is equivalent to > loc='center' > but it is not.  How can I center the legend > relative to the x-axis? > As you may ha

[Matplotlib-users] how to center a legend

2009-05-04 Thread Alan G Isaac
The docs http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend suggest that loc=(0.5,0.5) is equivalent to loc='center' but it is not. How can I center the legend relative to the x-axis? It seems to me that I need to be able to set not only the coordinates but also what p