@staticmethod
    def clean(matrix, colormap=None, row_labels=None, column_labels=None):

        matrix = mat_to_array(matrix)
        outdict = {'matrix': matrix}

        outdict = add_property(outdict, colormap, 'colormap')
        outdict = add_property(outdict, row_labels, 'rowLabels')
        outdict = add_property(outdict, column_labels, 'columnLabels')

        return outdict
Visualize a dense matrix or table as a heat map.
dataset/ETHPy150Open lightning-viz/lightning-python/lightning/types/plots.py/Matrix.clean