Skip to content

Releases: scverse/spatialdata-plot

v0.2.6

04 Sep 21:07
c6d6153
Compare
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
Compare
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

v0.2.4

07 Aug 13:10
Compare
Choose a tag to compare

[0.2.4] - 2024-08-07

Added

  • Added utils function for 0-transparent cmaps (#302)

Changed

Fixed

  • Took RNG out of categorical label test (#306)
  • Performance bug when plotting shapes (#298)
  • scale parameter was ignored for single-scale images (#301)
  • Changes to support for dask-expr (#283)
  • Added error handling for non-existent elements (#305)
  • Specifying vmin and vmax properly clips image data (#307)
  • import bug get_cmap() (8fd969c)

v0.2.3post0

05 Jul 14:03
b935933
Compare
Choose a tag to compare

Fix requirement.

v0.2.3

03 Jul 10:18
Compare
Choose a tag to compare

[0.2.3] - 2024-07-03

Changed

  • All parameters are now provided for a single element. If element in pl.render is None then this value will be broadcasted

Fixed

  • Fix color assignment for NaN values (#257)
  • Fix channel str support #221

v0.2.2

02 May 11:46
Compare
Choose a tag to compare

[0.2.2] - 2024-05-02

Fixed

  • Fixed fill_alpha ignoring alpha channel from custom cmap

v0.2.1

25 Mar 23:33
d8ba58b
Compare
Choose a tag to compare

[0.2.0] - 2024-03-24

Added

  • Support for plotting multiple tables @melonora

Fixed

  • Several bugfixes, especially for colors and palettes @melonora

v0.2.0-rc0

24 Mar 04:27
Compare
Choose a tag to compare

[0.2.0] - 2024-03-24

Added

  • Support for plotting multiple tables @melonora

Fixed

  • Several bugfixes, especially for colors and palettes @melonora

v0.2.0

24 Mar 20:11
8c314c7
Compare
Choose a tag to compare

[0.2.0] - 2024-03-24

Added

  • Support for plotting multiple tables @melonora

Fixed

  • Several bugfixes, especially for colors and palettes @melonora

v0.1.0

17 Jan 19:23
Compare
Choose a tag to compare

Added

  • Multiscale image handling: user can specify a scale, else the best scale is selected automatically given the figure size and dpi (#164)
  • Large images are automatically rasterized to speed up performance (#164)
  • Added better error message for mismatch in cs and ax number (#185)
  • Beter test coverage for correct plotting of elements after transformation (#198)
  • Can now stack render commands (#190, #192)
  • The color argument in render_shapes/points now accepts actual colors as well (#199)
  • Input arguments are now evaulated for their types in basic.py (#199)

Fixed

  • Now dropping index when plotting shapes after spatial query (#177)
  • Points are now being correctly rotated (#198)
  • User can now pass Colormap objects to the cmap argument in render_images. When only one cmap is given for 3 channels, it is now applied to each channel (#188, #194)