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 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 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

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.2.7.tar.gz (7.8 MB view details)

Uploaded Source

Built Distribution

spatialdata_plot-0.2.7-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spatialdata_plot-0.2.7.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for spatialdata_plot-0.2.7.tar.gz
Algorithm Hash digest
SHA256 d386fc6db6716f9c997087a3f85b383b6e150bf11b3e950877d337059ebb2f25
MD5 1dadd3d8d75a0664237f662454eaa519
BLAKE2b-256 7eef434133107534b16cd1a3edb3f63c64deaf4618a823f6e64dbb488cd6e59b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spatialdata_plot-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7ea5b46a95ef37966dc6aa3fb2552ea18fe1a1c66e261f47b55c895bb117d151
MD5 49741719eb4ad318b9531f94abcf42fa
BLAKE2b-256 f2ffd21d26485c50b072f5a7d8cfb3d5b71ac580901f5d2600b1b98336cacd8d

See more details on using hashes here.

Supported by

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