Re: [Matplotlib-users] delete instance of axvspan

2008-02-12 Thread John Hunter
On Feb 12, 2008 12:23 PM, Pierre GM <[EMAIL PROTECTED]> wrote: > self.plot(current._dates-shift, current._series, lw=lw, ls=ls, c=c, > scalex=False, scaley=False) > self.highlightedline = len(self.lines)-1# > return self.highlightedline > > As you

Re: [Matplotlib-users] delete instance of axvspan

2008-02-12 Thread Pierre GM
On Tuesday 12 February 2008 12:07:21 Michael Frauens wrote: > I am using span selector to identify an area and then highlight in in > green. I want the user to be able to validate this (or not) and then > select another area (or not). However, when the user selects the alternate > area I want the

[Matplotlib-users] delete instance of axvspan

2008-02-12 Thread Michael Frauens
I am using span selector to identify an area and then highlight in in green. I want the user to be able to validate this (or not) and then select another area (or not). However, when the user selects the alternate area I want the previous instance of axvspan to be deleted/removed. How do I re