Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1009 Bytes

File metadata and controls

46 lines (33 loc) · 1009 Bytes

Installation

From PyPI

pip install scplotkit

Sankey diagrams need an extra (Plotly + Kaleido for static image export):

pip install "scplotkit[sankey]"

Venn diagrams and UpSet plots need another one (matplotlib-venn and upsetplot):

pip install "scplotkit[sets]"

This extra also pins pandas < 3: upsetplot 0.9.0 styles its matrix dots in a way that silently breaks under pandas 3's copy-on-write, so {func}~scplotkit.sets.upset_plot cannot draw there. The pin goes away once upsetplot releases a fix; nothing else in scplotkit needs it.

From source

git clone https://github.com/philinscience/scplotkit.git
cd scplotkit
pip install -e ".[dev]"

Requirements

scplotkit requires Python 3.10+ and works with any recent scanpy/anndata installation. It doesn't require GPU support or any compiled dependencies beyond what scanpy already needs.

Verifying the install

import scplotkit as spk
print(spk.__version__)