Skip to content

Instantly share code, notes, and snippets.

@andi526
andi526 / plot_pca.py
Created February 6, 2026 09:41
Source_Code_GrandPy_Plot
def plot_pca(
data: GrandPy,
mode_slot: str | ModeSlot = None,
n_top: int = 500,
aest: Mapping = None,
x: int = 1,
y: int = 2,
columns: Union[str, Sequence[str]] = None,
do_vst: bool = True,
show_progress: bool = False,