Skip to content

Releases: scverse/spatialdata-plot

v0.2.14

30 Jan 13:02
2fd2aea

Choose a tag to compare

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_shapes by @timtreis in #512

Fixed

  • Enabled rendering of shapes with multiple holes by @MeyerBender in #506
  • When using render_points() with datashader, points can now be colored by adata.obs by @timtreis in #511
  • render_labels and render_shapes now 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

Full Changelog: v0.2.13...v0.2.14

v0.2.13

30 Oct 13:43
07e0f0f

Choose a tag to compare

What's Changed

Added

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_name and color are 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

10 Sep 16:28
e770345

Choose a tag to compare

What's Changed

Fixed

New Contributors

Full Changelog: v0.2.11...v0.2.12

v0.2.11

15 Aug 21:49
788eb22

Choose a tag to compare

What's Changed

Fixed

New Contributors

Full Changelog: v0.2.10...v0.2.11

v0.2.10

21 Apr 18:57
c348a44

Choose a tag to compare

What's Changed

Changed

Fixed

New Contributors

Full Changelog: v0.2.9...v0.2.10

v0.2.9

20 Jan 18:41
43f25f6

Choose a tag to compare

What's Changed

Added

Fixed

Other Changes

Full Changelog: v0.2.8...v0.2.9

v0.2.8

26 Nov 18:09
83f450d

Choose a tag to compare

[0.2.8] - 2024-11-26

Changed

  • Support for xarray.DataTree (which moved from datatree.DataTree) #380

v0.2.7

23 Oct 22:28
bc2db2c

Choose a tag to compare

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

04 Sep 21:07
c6d6153

Choose a tag to compare

Changed

  • Lowered RMSE-threshold for plot-based tests from 45 to 15 (#344)
  • When subsetting to groups, NA isn't automatically added to legend (#344)
  • When rendering a single image channel, a colorbar is now shown (#346)
  • Removed percentiles_for_norm parameter (#346)
  • Changed norm to no longer accept bools, only mpl.colors.Normalise or None (#346)

Fixed

  • Filtering with groups now preserves original cmap (#344)
  • Non-selected groups are now not shown in na_color (#344)
  • Several issues associated with norm and colorbar (#346)

Full Changelog: v0.2.5...v0.2.6

v0.2.5

29 Aug 19:14
7147a64

Choose a tag to compare

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 .pp accessor 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