perfect! was really simple, but I did not think about it. thanks for your help!
2010/7/1 Matthias Michler <matthiasmich...@gmx.net>: > On Wednesday, June 30, 2010 06:24:12 pm Philippe Crave wrote: >> Hello, >> >> I have a subplot with 4 lines. >> I display the legend. >> I can remove a line easily with something like del(self.ax.lines[n]). >> But how can I remove the line in the legend ? >> >> I found that I can remove all the lines, add news ones, but all the >> lines (new and deleted) remain in the legend. > > Hi Philippe, > > I think you simply can set up a new legend replacing the old one. I attached > an example script of that. > > Kind regards, > Matthias > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users