Skip to main content

Static plotting for SpatialData.

Project description

spatialdata-plot

Tests Documentation Codecov

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 format, please refer to the documentation. In particular, the

For usage examples, please refer to the "Visualizations" section of spatialdata.

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

t.b.a

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

Uploaded Source

Built Distribution

spatialdata_plot-0.0.2-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spatialdata_plot-0.0.2.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for spatialdata_plot-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6266612ac90190c99fc46be3c2b34267d8aa5f853eb5fad37b925b09c2b0b985
MD5 53a2e57dd769be4d44a9af666ae63acc
BLAKE2b-256 aa5f34c74bf2fd869b43cca56229709dd9f07fa26dacdbcd9f9e33f61c00a2bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spatialdata_plot-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df5677761713eaf4b38aefcad43f0b6914be4c29c535da0f92fcbcb526d55a50
MD5 6259959eba0d1d3772b341171b02e9f6
BLAKE2b-256 30e861c0709e4d67bce43e836c3bec49dc6a28d8bad56af5e97c57caff6201a2

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