Re: [matplotlib-devel] some issues with legend

2011-01-31 Thread butterw
Le , Jae-Joon Lee a écrit : On Sun, Jan 30, 2011 at 10:32 PM, Peter Butterworth butt...@gmail.com> wrote: > here are some observations on the mpl legend operation: > leg = ax.get_legend() #0 OK. but the recommended way to update a > legend seems to be using #1 ? > leg = ax.legend() #1 OK >

Re: [matplotlib-devel] some issues with legend

2011-01-30 Thread Jae-Joon Lee
On Sun, Jan 30, 2011 at 10:32 PM, Peter Butterworth wrote: > When plotting interactively is it actually possible to update the > legend with the current plots while retaining the previous legend > settings (position, visibility, etc.) ? > I think it is possible, but will be quite difficult to do

[matplotlib-devel] some issues with legend

2011-01-30 Thread Peter Butterworth
When plotting interactively is it actually possible to update the legend with the current plots while retaining the previous legend settings (position, visibility, etc.) ? here are some observations on the mpl legend operation: leg = ax.get_legend() #0 OK. but the recommended way to update a leg