You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comment originally from @MeyerBender, thanks for the feedback!
documentation: in general, I think it would be good to have one or two notebooks that exclusively focus on visualization. Right now, it is very hard to find this in the spatialdata docs. Maybe something similar to this, which shows off the most important plotting functions in spatialproteomics.
Activity
timtreis commentedon Apr 6, 2026
Documentation Audit (April 2026)
Underdocumented Features & Behaviors
Color handling
adata.unsstored colorsgroupsnow hides NAs by default (v0.3.0 behavior change) unlessna_colorexplicitly setmake_palette()/make_palette_from_data()with spaco spatial interlacement, colorblind simulation (new)Image rendering
transfunc: single callable gets(c,y,x), list of callables each get(y,x)— different signaturesscaleparam controls rasterizationDatashader integration
method=Rendering pipeline
render_*()stores commands,show()executes in insertion order → z-order = call orderelement=Nonebroadcasts params to all elements; invalid params silently ignoredshow()auto-detects context: callsplt.show()in scripts, suppresses in Jupyter; user-provided axes suppress itLabels
contour_px=Nonefills segments vs integer draws contour of that widthoutline_color=Noneuses per-label data-driven colors whencoloris a columnShapes
shape="hex"/"circle"/"square"/"visium_hex"(visium_hex sizes for adjacency)outline_width=(1.5, 0.5),outline_color=("#000", "#fff")Figure/axes
share_extentfor consistent bounds across CS panelspad_extentfor padding around computed extentBreaking changes across versions (no migration guide exists)
groupshides NAs, uniform color handling, keyword-only params (v0.2.14)Colorbar and legend options
Proposed Notebook TODOs
make_palette, spaco, colorblind simFix docstrings and remove dead code across public API
Add Colour and palettes card and refresh Visium thumbnail
docs: add a Scalebars tutorial (#12)