code: def setBins(self, bins):
          
          self._bins = bins
          self._counts = np.zeros_like(self._bins)
          bar_width = bins[0]*1.5
          self.histo.setOpts(x=bins, height=self._counts, width=bar_width)
          self.setXlim((0, bins[-1]))
docs: Sets the bin centers (x values)
  
          :param bins: time bin centers
          :type bins: numpy.ndarray