class_docstr: Container for the artists of error bars (e.g. created by `.Axes.errorbar`).
  
  The container can be treated as the *lines* tuple itself.
  Additionally, you can access these and further parameters by the
  attributes.
  
  Attributes
  ----------
  lines : tuple
      Tuple of ``(data_line, caplines, barlinecols)``.
  
      - data_line : :class:`~matplotlib.lines.Line2D` instance of
        x, y plot markers and/or line.
      - caplines : tuple of :class:`~matplotlib.lines.Line2D` instances of
        the error bar caps.
      - barlinecols : list of :class:`~matplotlib.collections.LineCollection`
        with the horizontal and vertical error ranges.
  
  has_xerr, has_yerr : bool
      ``True`` if the errorbar has x/y errors.
class_docstr_tok: ["Container","for","the","artists","of","error","bars","(","e.g",".","created","by","`",".Axes.errorbar","`",")",".","The","container","can","be","treated","as","the","*","lines","*","tuple","itself",".","Additionally",",","you","can","access","these","and","further","parameters","by","the","attributes",".","Attributes","--","--","--","--","--","lines",":","tuple","Tuple","of","``","(","data_line",",","caplines",",","barlinecols",")","``",".","-","data_line",":",":","class",":","`","~matplotlib.lines.Line2D","`","instance","of","x",",","y","plot","markers","and\/or","line",".","-","caplines",":","tuple","of",":","class",":","`","~matplotlib.lines.Line2D","`","instances","of","the","error","bar","caps",".","-","barlinecols",":","list","of",":","class",":","`","~matplotlib.collections.LineCollection","`","with","the","horizontal","and","vertical","error","ranges",".","has_xerr",",","has_yerr",":","bool","``","True","``","if","the","errorbar","has","x\/y","errors","."]
code: def __init__(self, lines, has_xerr=False, has_yerr=False, **kwargs):
      self.lines = lines
      self.has_xerr = has_xerr
      self.has_yerr = has_yerr
      super().__init__(lines, **kwargs)
  
file_path: matplotlib/lib/matplotlib/container.py
imports: from matplotlib import cbook
  from matplotlib.artist import Artist
label_desc: Use image node_id 1 to create a new ErrorbarContainer object from inherited base classes: Container with example: obj = ErrorbarContainer(lines, has_xerr, has_yerr)