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.
- Giving a custom colormap when rendering a multiscale image now works (#586)
- 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, onlympl.colors.Normalise
orNone
(#346)
- Filtering with
groups
now preserves original cmap (#344) - Non-selected
groups
are now not shown inna_color
(#344) - Several issues associated with
norm
andcolorbar
(#346)
- Replaced
outline
parameter inrender_labels
with alpha-based logic (#323) - Lowered RMSE-threshold for plot-based tests from 60 to 45 (#323)
- Removed
preprocessing
(.pp) accessor (#329)
- Minor fixes for several tests as a result of the threshold change (#323)
- Added utils function for 0-transparent cmaps (#302)
- 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)
- Datashader support for points and shapes (#244)
- All parameters are now provided for a single element (#272)
- Fix color assignment for NaN values (#257)
- Zorder of rendering now strictly follows the order of the render_x calls (#244)
- Fixed
fill_alpha
ignoringalpha
channel from custom cmap (#236) - Fix channel str support (#221)
- Adjusted GitHub worklows
- Support for plotting multiple tables @melonora
- Several bugfixes, especially for colors and palettes @melonora
- 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)
- 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)
- Pushed
get_extent
functionality upstream tospatialdata
(#162)
- Can now scale shapes (#152)
- Can now plot columns from GeoDataFrame (#149)
- 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)
- 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).
- Multiple bugfixes of which I didn't keep track of.
- Initial release of
spatialdata-plot
with support forimages
,labels
,points
andshapes
.