scPyviewer.plot_multigene#

scPyviewer.plot_multigene(ds, genes, embedding=None, ncol=3, figsize=None, dpi=150, point_size=2.5, cmap='viridis', alpha=0.8, max_genes=12, suptitle=None, suptitle_fontsize=10, title_fontsize=None, panel_title_fontsize=8, tick_fontsize=None, colorbar_fontsize=6, font_family=None)[source]#

Grid of embedding scatters, one panel per gene.

Parameters:
  • genes (list[str]) – Gene names to plot.

  • embedding (str, optional) – Embedding key (auto-selected if None).

  • ncol (int) – Number of columns in the grid.

  • figsize (tuple, optional) – Figure (width, height) in inches. Auto-computed from ncol/nrow if None.

  • dpi (int) – Figure resolution.

  • point_size (float) – Scatter point size.

  • cmap (str) – Colormap for expression values.

  • alpha (float) – Point transparency (0–1).

  • max_genes (int) – Hard cap on number of panels shown.

  • suptitle (str, optional) – Override the figure super-title.

  • suptitle_fontsize (float) – Font size of the figure super-title.

  • panel_title_fontsize (float) – Font size of each panel’s gene-name title.

  • colorbar_fontsize (float) – Colorbar tick and label font size.

  • font_family (str, optional) – Font family for this figure only.

  • ds (Dataset)

  • title_fontsize (float | None)

  • tick_fontsize (float | None)