def set_mat(self, matrix): """ Sets the probes matrix, overrides all other transforms """ self._transform = TransformState.make_mat(matrix) self.update_bounds()