scanpy.pl.MatrixPlot.swap_axes
- MatrixPlot.swap_axes(swap_axes=True)
Plots a transposed image.
By default, the x axis contains
var_names
(e.g. genes) and the y axis thegroupby
categories. By settingswap_axes
then x are thegroupby
categories and y thevar_names
.