code: def overwriteComponent(self, comp, row, col):
          
          self._segments[row][col] = comp
  
          # in case of samplerate change, just always update
          self.updateCalibration()
docs: Overwrites the component at the specficied location with a provided one.
  
          :param comp: New component to insert
          :type comp: :class:`AbstractStimulusComponent<sparkle.stim.abstract_component.AbstractStimulusComponent>`
          :param row: track location of existing component to overwrite
          :type row: int
          :param col: location in track of existing component to overwrite
          :type col: int