scanpy.pl.StackedViolin.swap_axes
- StackedViolin.swap_axes(swap_axes=True)
Plots a transposed image.
By default, the x axis contains
var_names(e.g. genes) and the y axis thegroupbycategories. By settingswap_axesthen x are thegroupbycategories and y thevar_names.