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.9.tar.gz (8.2 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.2.9-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spatialdata_plot-0.2.9.tar.gz
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for spatialdata_plot-0.2.9.tar.gz
Algorithm Hash digest
SHA256 418fc1f6c642bdbd43c07c4417993e334feb3900c1ba68395e8ad6fe68a5e17d
MD5 94848af450e4ad9e0d75591c22215af0
BLAKE2b-256 82499c4651fa9b49bbd211d979a8061422c38bc1dd350656998a57828134b8eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spatialdata_plot-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 807efaaca8b021c62eb39b8027f4b7629bbd2d2808a34e7762f3043c477f1ef9
MD5 0c4a340eea6def9fa1d704735d6769d0
BLAKE2b-256 62cdac8b20c8f639a842104a3c3aeda774832afd0dcc610bf46a66834f57c5ba

See more details on using hashes here.

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