def _get_matrix(self):
        if not hasattr(self, "_contrast_matrix"):
            self.compute_matrix()
        return self._contrast_matrix
Gets the contrast_matrix property
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/stats/contrast.py/Contrast._get_matrix