Releases: scverse/spatialdata-plot
Releases · scverse/spatialdata-plot
v0.2.14
What's Changed
Added
Changed
- Made most plotting parameter keyword-only by @timtreis in #510
- Now raising an error if color or table doesn't exist by @timtreis in #515
- Safeguard against invalid user input in
render_shapesby @timtreis in #512
Fixed
- Enabled rendering of shapes with multiple holes by @MeyerBender in #506
- When using
render_points()withdatashader, points can now be colored byadata.obsby @timtreis in #511 render_labelsandrender_shapesnow scan for and respect xyz_colors in adata.uns by @timtreis in #492- Polygons with holes are now rendered correctly by @timtreis in #513
- Fix MultiPolygon patch creation for inverted inner rings by @timtreis in #517
- Improve contribution guide for macos testing (docker) by @LucaMarconato in #531
- Multi-channel images now correctly normalised, even when uint16 by @timtreis in #520
New Contributors
- @MeyerBender made their first contribution in #506
Full Changelog: v0.2.13...v0.2.14
v0.2.13
What's Changed
Added
- make outline behavior more similar to squidpy by @Sonja-Stockhaus in #472
- add
shapesparameter to render shapes as hex/circle/square by @Sonja-Stockhaus in #474 - Added option
visium_hexwith which Visium spots are rendered as continous hexes by @timtreis in #501
Changed
- zarr v3 compatibility changes by @melonora in #482
- Update CI/CD to use pixi and parallel testing; also moving to Python 3.11-3.13 by @timtreis in #481
- Simplified affine matrix calculation for datashader by @timtreis in #491
Fixed
- Add warning if
table_nameandcolorare specified but the table doesn't annotate the element by @timtreis in #490 - Fix NaN handling and transparency in shape rendering by @timtreis in #503
- Removed hardcoded sdata["table"] access by @LucaMarconato in #504
Full Changelog: v0.2.12...v0.2.13
v0.2.12
What's Changed
Fixed
- render_shapes now respects palette and group by @sophiamaedler in #465
- fix image rendering (clipping warning) by @Sonja-Stockhaus in #471
New Contributors
- @sophiamaedler made their first contribution in #465
Full Changelog: v0.2.11...v0.2.12
v0.2.11
What's Changed
Fixed
- render_shapes now respects the cmap parameter by @timtreis in #436
- Fix plot continous column render labels by @ArneDefauw in #444
New Contributors
- @ArneDefauw made their first contribution in #444
Full Changelog: v0.2.10...v0.2.11
v0.2.10
What's Changed
Changed
Fixed
- Fix norm behavior, add tests by @Sonja-Stockhaus in #419
- Fix unused cmap in render_points by @melonora in #432
- Fix but
render_shapes()when coordinate system "global" not present by @melonora in #446
New Contributors
Full Changelog: v0.2.9...v0.2.10
v0.2.9
What's Changed
Added
- Adde guide for visual testing by @LucaMarconato in #397
- added tests for plotting columns from points by @LucaMarconato in #395
- Can now specify which 'layer' of the AnnData table to use by @Sonja-Stockhaus in #402
Fixed
- Transformations are applied before rendering with datashader by @Sonja-Stockhaus in #378
Other Changes
- Tightened type-checking of color input by @LucaMarconato in #393
- allow plotting with mismatch between element and table by @melonora in #396
- Improved the release process by @LucaMarconato in #400
Full Changelog: v0.2.8...v0.2.9
v0.2.8
v0.2.7
Added
- The user can now specify datashader_reduction to control the rendering behaviour (#309)
- Rendering outlines of shapes with datashader works now (#309)
Fixed
- datashader now uses canvas size = image size which speeds up the rendering (#309)
- datashader now uses the linear as interpolation method for colormaps instead of the default eq_hist to make it equivalent to matplotlib (#309)
- point sizes of datashader now agree with matplotlib also when dpi != 100 (#309)
- Giving a custom colormap when rendering a multiscale image now works (#369)
Full Changelog: v0.2.6...v0.2.7
v0.2.6
Changed
- Lowered RMSE-threshold for plot-based tests from 45 to 15 (#344)
- When subsetting to
groups,NAisn't automatically added to legend (#344) - When rendering a single image channel, a colorbar is now shown (#346)
- Removed
percentiles_for_normparameter (#346) - Changed
normto no longer accept bools, onlympl.colors.NormaliseorNone(#346)
Fixed
- Filtering with
groupsnow preserves original cmap (#344) - Non-selected
groupsare now not shown inna_color(#344) - Several issues associated with
normandcolorbar(#346)
Full Changelog: v0.2.5...v0.2.6
v0.2.5
What's Changed
- Added better error message for edge-case in which user modifies adata in place outside of sdata by @timtreis in #322
- Update template to v0.4.0 by @scverse-bot in #263
- Categorical data is now correctly colored in the legend when plotting v2 by @timtreis in #323
- String column names in [0, 1] are now no longer interpreted as colors by @timtreis in #331
- Removed
.ppaccessor by @timtreis in #329 - Donut-MultiPolygons are now correctly rendered again by @timtreis in #334
- Refactor of labels logic by @timtreis in #336
Full Changelog: v0.2.4...v0.2.5