Skip to main content

Static plotting for spatial data.

Project description

SpatialData banner

spatialdata-plot: rich static plotting from SpatialData objects

Tests Documentation Codecov Documentation Anaconda-Server Badge DOI

The spatialdata-plot package extends spatialdata with a declarative plotting API that enables to quickly visualize spatialdata objects and their respective elements (i.e. images, labels, points and shapes).

SpatialData’s plotting capabilities allow to quickly visualise all contained modalities. The user can specify which elements should be rendered (images, labels, points, shapes) and specify certain parameters for each layer, such as for example the intent to color shapes by a gene’s expression profile or which color to use for which image channel. When the plot is then eventually displayed, all transformations, alignments and coordinate systems are internally processed to form the final visualisation. In concordance with the general SpatialData philosophy, all modalities of the major spatial technologies are supported out of the box.

Getting started

For more information on the spatialdata-plot library, please refer to the documentation. In particular, the

Installation

You need to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.

There are several alternative options to install spatialdata-plot:

  1. Install the latest release of spatialdata-plot from PyPI <https://pypi.org/project/spatialdata-plot/>_:
pip install spatialdata-plot
  1. Install the latest development version:
pip install git+https://github.com/scverse/spatialdata-plot.git@main

Contact

For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.

Citation

Marconato, L., Palla, G., Yamauchi, K.A. et al. SpatialData: an open and universal data framework for spatial omics. Nat Methods (2024). https://doi.org/10.1038/s41592-024-02212-x

spatialdata-plot is part of the scverse® project (website, governance) and is fiscally sponsored by NumFOCUS. If you like scverse® and want to support our mission, please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spatialdata_plot-0.3.1.tar.gz (14.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spatialdata_plot-0.3.1-py3-none-any.whl (70.9 kB view details)

Uploaded Python 3

File details

Details for the file spatialdata_plot-0.3.1.tar.gz.

File metadata

  • Download URL: spatialdata_plot-0.3.1.tar.gz
  • Upload date:
  • Size: 14.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spatialdata_plot-0.3.1.tar.gz
Algorithm Hash digest
SHA256 dc00a0d09878a85ccbff870daa8082440d1e7eb898179cc61bee6688163ef894
MD5 4036b80faa61825dc9d39ffb65a324fc
BLAKE2b-256 581fab4f5644a95372acc427d3161c3d879e1c7292530eca2eddb32d5a8b2f1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for spatialdata_plot-0.3.1.tar.gz:

Publisher: release.yaml on scverse/spatialdata-plot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spatialdata_plot-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for spatialdata_plot-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 958577cdc58525cdba9dab2cdaf8e451fc403e1cf441ded83f133ea95415b9e8
MD5 7cf6553de2c4108e6fb4316e871e0970
BLAKE2b-256 9d49ca73e5c1eaad6a16336849e1a9a8e08ea2c130656cc806e930316e2e36e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for spatialdata_plot-0.3.1-py3-none-any.whl:

Publisher: release.yaml on scverse/spatialdata-plot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page