def data_row_colours(self, values):
        """data_row_colours: list of colour"""
        try:
            if not isinstance(values[0], list) and \
                    not isinstance(values[0], tuple):  # one dimensional
                values = [values]
        except:
            values = [[]]  # values is not listpixel_array
        if len(values) != self.n_data_rows:
            raise RuntimeError('Number of data row colour does not match the ' +
                               'defined number of data rows!')
        self._data_row_colours = values