pip install scplotkitSankey 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.
git clone https://github.com/philinscience/scplotkit.git
cd scplotkit
pip install -e ".[dev]"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.
import scplotkit as spk
print(spk.__version__)