Ryan May-3 wrote:
> 
> 
> You can accomplish it by:
> 
> ax.texts.remove(arrow)
> 
> I'd still like to know why this exception gets raised:
> 
> 
> NotImplementedError                       Traceback (most recent call
> last)
> 
> /home/rmay/<ipython console> in <module>()
> 
> /home/rmay/.local/lib/python2.6/site-packages/matplotlib/artist.pyc in
> remove(self)
>     123             self._remove_method(self)
>     124         else:
> --> 125             raise NotImplementedError('cannot remove artist')
>     126         # TODO: the fix for the collections relim problem is to
> move the
> 
>     127         # limits calculation into the artist itself, including
> the property
> 
> 
> NotImplementedError: cannot remove artist
> 
> JJ, thoughts?
> 
> Ryan
> 
> -- 
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
Ryan,
I implemented this code fine and NEVER got any raised exceptions... Maybe
you did something else wrong?

-----
Krishna Adrianto Pribadi
Test Engineer
Harley-Davidson Motor Co.
Talladega Test Facility
Vehicle Test Stands
-- 
View this message in context: 
http://old.nabble.com/remove---delete-arrow---annotate%2C-how-to--tp28451836p28460643.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to