Static plotting for spatial data.
Actively maintained. Last release 7 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
pip install spatialdata-plot
spatialdata-plot: rich static plotting from SpatialData objects
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