code: def updateData(self, state_data, action_data, reward_data):
          
  #        self.dataLock.acquire()
  
          self.state_data[:, self.updates] = state_data
          self.action_data[:, self.updates] = action_data
          self.reward_data[0, self.updates] = reward_data
          self.updates += 1
          self._render()
docs: Updates the data used by the renderer.