Changelog#

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.2.2] - 2024-05-02#

Fixed#

  • Fixed fill_alpha ignoring alpha channel from custom cmap

[0.2.1] - 2024-03-26#

Minor#

  • Adjusted GitHub worklows

[0.2.0] - 2024-03-24#

Added#

  • Support for plotting multiple tables @melonora

Fixed#

  • Several bugfixes, especially for colors and palettes @melonora

[0.1.0] - 2024-01-17#

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)

[0.0.6] - 2023-11-06#

Added#

  • Pushed get_extent functionality upstream to spatialdata (#162)

[0.0.5] - 2023-10-02#

Added#

  • Can now scale shapes (#152)

  • Can now plot columns from GeoDataFrame (#149)

Fixed#

  • Multipolygons are now handled correctly (#93)

  • Legend order is now deterministic (#143)

  • Images no longer normalised by default (#150)

  • Filtering of shapes and points using the groups argument is now possible, coloring by palette and cmap arguments works for shapes and points (#153)

  • Colorbar no longer autoscales to [0, 1] (#155)

  • Plotting shapes after a spatial query is now possible (#163)

[0.0.4] - 2023-08-11#

Fixed#

  • Multi-scale images/labels are now correctly substituted and the action is logged (#131).

  • Empty geometries among the shapes can be handeled (#133).

  • outline_width parameter in render_shapes is now a float that actually determines the line width (#139).

[0.0.2] - 2023-06-25#

Fixed#

  • Multiple bugfixes of which I didn’t keep track of.

[0.0.1] - 2023-04-04#

Added#

  • Initial release of spatialdata-plot with support for images, labels, points and shapes.