Updates the data used by the renderer.

def updateData(self, state_data, action_data, reward_data):
        """ Updates the data used by the renderer.
        """
#        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()