Skip to main content

plotly_for_scanpy

Interactive Plotly-based visualization tools for Scanpy single-cell data analysis, providing drop-in alternatives to scanpy.pl functions with enhanced interactivity.

Installation

pip install plotly_for_scanpy

Features

  • Dynamic Downsampling: Efficiently visualize large datasets with intelligent point reduction
  • Interactive Plots: All visualizations are fully interactive with zoom, pan, and hover functionality
  • Scanpy Integration: Works seamlessly with AnnData objects
  • Publication Quality: Easily export to HTML or static formats

Example Usage

import scanpy as sc
import plotly_for_scanpy as psc

# Load data
adata = sc.datasets.pbmc3k()
sc.pp.normalize_total(adata)
sc.pp.log1p(adata)
sc.pp.highly_variable_genes(adata)
sc.pp.pca(adata)
sc.pp.neighbors(adata)
sc.tl.umap(adata)
sc.tl.leiden(adata)

# Use interactive UMAP visualization
psc.umap(adata, color=['leiden'])

# Visualize with dynamic downsampling for large datasets
fig = psc.umap(adata, color='leiden', return_fig=True)
dynamic_fig = psc.dd(fig, resolution=10000)
dynamic_fig.show()

Documentation

Full examples and tutorials:

License

MIT License

Metadata

Release files for plotly-for-scanpy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plotly-for-scanpy 0.1.0
File Size Uploaded Provenance Actions
plotly_for_scanpy-0.1.0.tar.gz 18.6 kB Without provenance Details for plotly_for_scanpy-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plotly-for-scanpy 0.1.0
File Interpreter ABI Platform Actions
plotly_for_scanpy-0.1.0-py3-none-any.whl Python 3 none any Details for plotly_for_scanpy-0.1.0-py3-none-any.whl

Total release size: 37.0 kB

Release files / plotly_for_scanpy-0.1.0.tar.gz

Download URL plotly_for_scanpy-0.1.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
df54ccee5a49cde46137f531842f841238bc5aa1d9c853a63340812bde7da5bb
BLAKE2b-256 checksum
How to use checksums
465a986dc9862c438b24393afae530b6cbeadb12e693a087617fe69ae88550c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / plotly_for_scanpy-0.1.0-py3-none-any.whl

Download URL plotly_for_scanpy-0.1.0-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eac72b39ee23704883133225c8ead3da1f0d17c6d827759860f55776891203b3
BLAKE2b-256 checksum
How to use checksums
d0ec1c0ccd0f6e79cde6dbc6b84c714666ccacc963fe0886b6dadc2cc1ff10ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for plotly-for-scanpy 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page