code: def setOpts(self, **opts):
      self.opts.update(opts)
      self.picture = None
      self._shape = None
      self._prepareData()
      self._updateColors(opts)
      self.prepareGeometryChange()
      self.update()
      self.informViewBoundsChanged()
  
imports: import numpy
  from ..None import functions
  from ..None import getConfigOption
  from ..None import Qt
  from ..Qt import QtCore, QtGui
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 2 for calling the BarGraphItem obj's underlying member method code with example usage: obj.setOpts() without return types