docstr: Update the data in the item. All arguments are optional.
  
  Valid keyword options are:
  x, y, height, width, top, bottom, left, right, beam, pen
  
    * x and y must be numpy arrays specifying the coordinates of data points.
    * height, width, top, bottom, left, right, and beam may be numpy arrays,
      single values, or None to disable. All values should be positive.
    * top, bottom, left, and right specify the lengths of bars extending
      in each direction.
    * If height is specified, it overrides top and bottom.
    * If width is specified, it overrides left and right.
    * beam specifies the width of the beam at the end of each bar.
    * pen may be any single argument accepted by pg.mkPen().
  
  This method was added in version 0.9.9. For prior versions, use setOpts.
code: def setData(self, **opts):
      """
      Update the data in the item. All arguments are optional.
  
      Valid keyword options are:
      x, y, height, width, top, bottom, left, right, beam, pen
  
        * x and y must be numpy arrays specifying the coordinates of data points.
        * height, width, top, bottom, left, right, and beam may be numpy arrays,
          single values, or None to disable. All values should be positive.
        * top, bottom, left, and right specify the lengths of bars extending
          in each direction.
        * If height is specified, it overrides top and bottom.
        * If width is specified, it overrides left and right.
        * beam specifies the width of the beam at the end of each bar.
        * pen may be any single argument accepted by pg.mkPen().
  
      This method was added in version 0.9.9. For prior versions, use setOpts.
      """
      self.opts.update(opts)
      self.setVisible(
          all(self.opts[ax] is not None for ax in ["x", "y"])
      )
      self.path = None
      self.update()
      self.prepareGeometryChange()
      self.informViewBoundsChanged()
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/ErrorBarItem.py
imports: from ..None import functions
  from ..None import getConfigOption
  from ..Qt import QtGui
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 2 for calling the ErrorBarItem obj's underlying member method code with example usage: obj.setData() without return types