scanpy.pl.MatrixPlot.style
- MatrixPlot.style(cmap='viridis', edge_color='gray', edge_lw=0.1)
Modifies plot visual parameters.
- Parameters:
- Returns:
Examples
import scanpy as sc adata = sc.datasets.pbmc68k_reduced() markers = ['C1QA', 'PSAP', 'CD79A', 'CD79B', 'CST3', 'LYZ']
Change color map and turn off edges:
( sc.pl.MatrixPlot(adata, markers, groupby='bulk_labels') .style(cmap='Blues', edge_color='none') .show() )