Re: [Matplotlib-users] remove() on text

2008-07-03 Thread John Hunter
On Wed, Jul 2, 2008 at 7:13 PM, Nihat <[EMAIL PROTECTED]> wrote: > Here are my questions: > 1. I have extended the Line2D class as I am using _nolegend_ in the label. > I still wanted to differentiate between lines using something called id. Is > there a better way of doing it with built-in attri

[Matplotlib-users] remove() on text

2008-07-02 Thread Nihat
Hi, In a part of my code I use thisline = CL.CustomLine([x1, x2], [y1, y2], color='black', linestyle='--', picker=2, zorder=20, id=lbl) self.ax.add_line(thisline) if (cfg.linedraw_label): self.ax.text(x2, y2, lbl, fontname='Sans', fontsize=9, picker=2, zorder=20) In another part