Registry / ai-ml / spatialdata-plot

spatialdata-plot

JSON →
library0.4.0pypypi✓ verified 34d ago

Static plotting for spatial data, part of scverse. Current version 0.4.0, requires Python >=3.11. Release cadence is irregular.

ai-ml
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpatialData is the class, sd is commonly used as a module alias

from spatialdata import SpatialData

Basic rendering of a SpatialData object using the .pl accessor.

from spatialdata import SpatialData import spatialdata_plot # Create a SpatialData object with sample data sdata = SpatialData.from_squidpy("adata", "dummy") sdata.pl.render()
Debug
Known footguns
breakingspatialdata-plot 0.4.0 drops support for Python <3.11.
deprecatedThe plot() function on sdata is deprecated; use sdata.pl.render() instead.
gotchaspatialdata-plot must be imported before calling .pl methods; otherwise AttributeError occurs.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
13 hits · last 30 days
gptbot
3
bingbot
1
mj12bot
1
ahrefsbot
1
Resources