'Shape of the i\'th bicluster.
Parameters
i : int
The index of the cluster.
Returns
shape : (int, int)
Number of rows and columns (resp.) in the bicluster.'

def get_shape(self, i):

    indices = self.get_indices(i)
    return tuple((len(i) for i in indices))
