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

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

If you use spatialdata in your work, please cite the spatialdata publication as follows:

SpatialData: an open and universal data framework for spatial omics

Luca Marconato, Giovanni Palla, Kevin A. Yamauchi, Isaac Virshup, Elyas Heidari, Tim Treis, Marcella Toth, Rahul Shrestha, Harald Vöhringer, Wolfgang Huber, Moritz Gerstung, Josh Moore, Fabian J. Theis, Oliver Stegle

bioRxiv 2023.05.05.539647; doi: https://doi.org/10.1101/2023.05.05.539647

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.0.3.post2.tar.gz (22.8 MB view details)

Uploaded Source

Built Distribution

spatialdata_plot-0.0.3.post2-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file spatialdata_plot-0.0.3.post2.tar.gz.

File metadata

File hashes

Hashes for spatialdata_plot-0.0.3.post2.tar.gz
Algorithm Hash digest
SHA256 2aabb7786af66fb6ba3c16b4afcb89282ca20b0e98868b6fe278124c1fc7b640
MD5 e79caa5eb41a85707f75175613fbc17f
BLAKE2b-256 23f0181fb50d4e988f04e7160b3c9a1a0a0bcdd6d58beb9f4927fc6fdaa6a4ae

See more details on using hashes here.

File details

Details for the file spatialdata_plot-0.0.3.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for spatialdata_plot-0.0.3.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 d500e189063c83131e612bcf72cca9dae8205f549262a117519ae5852991cf97
MD5 b3da2bc42e1bc52053ba04ef6eb190f6
BLAKE2b-256 0e188ce10d06d2b0e41a22865309cbee9f80abd5c2aed23cd1953394a293b407

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