http://matplotlib.sourceforge.net/api/pyplot_api.html?highlight=errorbar#matplotlib.pyplot.errorbar

As described in the doc, the errorbar command creates lines and line
collections, where the  errorbars  are created as line collections.
Axes.collections contains the list of collection artist that belong to
the axes hence this is the place.

However, I don't think manipulating Axes.collections (and the return
value of get_lines() ) in this way is a good idea. All the artist
added to an axes has "remove" method. When called, the artist remove
itself from the axes it belongs.

I'm not sure what your intention is, but if you want to temporarily
remove some artists from the axes, it would be easier  to make them
simply invisible. Otherwise, I recommend you to use the remove method.

Regards,

-JJ



On Tue, Jul 14, 2009 at 6:13 PM, Jack Sankey<jack.san...@gmail.com> wrote:
> Hello,
> I'm writing a script that removes data from plots by looping over
> axes.get_lines(), removing data, then using axes.set_lines(). It works quite
> well, but when it's a plot with error bars, the vertical part of the error
> bar is not disappearing.
> I'm assuming the vertical part is a vline or something and so should not be
> with the other lines. Where does this data get stuck? :)
> Thanks!
> Jack
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to