You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+64-62Lines changed: 64 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -12,167 +12,169 @@ and this project adheres to [Semantic Versioning][].
12
12
13
13
### Fixed
14
14
15
-
- Transformations of Points and Shapes are now applied before rendering with datashader (#378)
16
-
- Fix bug due to `sc.get.obs_df()` returning a different type (#393)
15
+
- Transformations of Points and Shapes are now applied before rendering with datashader (#378)
16
+
- Fix bug due to `sc.get.obs_df()` returning a different type (#393)
17
+
- Allowing instance mismatch between shapes and tables (#396)
18
+
- Fix bug when plotting categorical points with datashader (#395)
17
19
18
20
## [0.2.8] - 2024-11-26
19
21
20
22
### Changed
21
23
22
-
- Support for `xarray.DataTree` (which moved from `datatree.DataTree`) (#380)
24
+
-Support for `xarray.DataTree` (which moved from `datatree.DataTree`) (#380)
23
25
24
26
## [0.2.7] - 2024-10-24
25
27
26
28
### Added
27
29
28
-
- The user can now specify `datashader_reduction` to control the rendering behaviour (#309)
29
-
- Rendering outlines of shapes with datashader works now (#309)
30
+
-The user can now specify `datashader_reduction` to control the rendering behavior (#309)
31
+
-Rendering outlines of shapes with datashader works now (#309)
30
32
31
33
### Fixed
32
34
33
-
- datashader now uses canvas size = image size which speeds up the rendering (#309)
34
-
- datashader now uses the `linear` as interpolation method for colormaps instead of the default `eq_hist` to make it equivalent to matplotlib (#309)
35
-
- point sizes of datashader now agree with matplotlib also when dpi != 100 (#309)
36
-
- Giving a custom colormap when rendering a multiscale image now works (#586)
35
+
-datashader now uses canvas size = image size which speeds up the rendering (#309)
36
+
-datashader now uses the `linear` as interpolation method for colormaps instead of the default `eq_hist` to make it equivalent to matplotlib (#309)
37
+
-point sizes of datashader now agree with matplotlib also when dpi != 100 (#309)
38
+
-Giving a custom colormap when rendering a multiscale image now works (#586)
37
39
38
40
## [0.2.6] - 2024-09-04
39
41
40
42
### Changed
41
43
42
-
- Lowered RMSE-threshold for plot-based tests from 45 to 15 (#344)
43
-
- When subsetting to `groups`, `NA` isn't automatically added to legend (#344)
44
-
- When rendering a single image channel, a colorbar is now shown (#346)
45
-
- Removed `percentiles_for_norm` parameter (#346)
46
-
- Changed `norm` to no longer accept bools, only `mpl.colors.Normalise` or `None` (#346)
44
+
-Lowered RMSE-threshold for plot-based tests from 45 to 15 (#344)
45
+
-When subsetting to `groups`, `NA` isn't automatically added to legend (#344)
46
+
-When rendering a single image channel, a colorbar is now shown (#346)
47
+
-Removed `percentiles_for_norm` parameter (#346)
48
+
-Changed `norm` to no longer accept bools, only `mpl.colors.Normalise` or `None` (#346)
47
49
48
50
### Fixed
49
51
50
-
- Filtering with `groups` now preserves original cmap (#344)
51
-
- Non-selected `groups` are now not shown in `na_color` (#344)
52
-
- Several issues associated with `norm` and `colorbar` (#346)
52
+
-Filtering with `groups` now preserves original cmap (#344)
53
+
-Non-selected `groups` are now not shown in `na_color` (#344)
54
+
-Several issues associated with `norm` and `colorbar` (#346)
53
55
54
56
## [0.2.5] - 2024-08-23
55
57
56
58
### Changed
57
59
58
-
- Replaced `outline` parameter in `render_labels` with alpha-based logic (#323)
59
-
- Lowered RMSE-threshold for plot-based tests from 60 to 45 (#323)
60
-
- Removed `preprocessing` (.pp) accessor (#329)
60
+
-Replaced `outline` parameter in `render_labels` with alpha-based logic (#323)
61
+
-Lowered RMSE-threshold for plot-based tests from 60 to 45 (#323)
62
+
-Removed `preprocessing` (.pp) accessor (#329)
61
63
62
64
### Fixed
63
65
64
-
- Minor fixes for several tests as a result of the threshold change (#323)
66
+
-Minor fixes for several tests as a result of the threshold change (#323)
65
67
66
68
## [0.2.4] - 2024-08-07
67
69
68
70
### Added
69
71
70
-
- Added utils function for 0-transparent cmaps (#302)
72
+
-Added utils function for 0-transparent cmaps (#302)
71
73
72
74
### Fixed
73
75
74
-
- Took RNG out of categorical label test (#306)
75
-
- Performance bug when plotting shapes (#298)
76
-
- scale parameter was ignored for single-scale images (#301)
77
-
- Changes to support for dask-expr (#283)
78
-
- Added error handling for non-existent elements (#305)
79
-
- Specifying vmin and vmax properly clips image data (#307)
80
-
- import bug `get_cmap()` (8fd969c)
76
+
-Took RNG out of categorical label test (#306)
77
+
-Performance bug when plotting shapes (#298)
78
+
-scale parameter was ignored for single-scale images (#301)
79
+
-Changes to support for dask-expr (#283)
80
+
-Added error handling for non-existent elements (#305)
81
+
-Specifying vmin and vmax properly clips image data (#307)
82
+
-import bug `get_cmap()` (8fd969c)
81
83
82
84
## [0.2.3] - 2024-07-03
83
85
84
86
### Added
85
87
86
-
- Datashader support for points and shapes (#244)
88
+
-Datashader support for points and shapes (#244)
87
89
88
90
### Changed
89
91
90
-
- All parameters are now provided for a single element (#272)
92
+
-All parameters are now provided for a single element (#272)
91
93
92
94
### Fixed
93
95
94
-
- Fix color assignment for NaN values (#257)
95
-
- Zorder of rendering now strictly follows the order of the render_x calls (#244)
96
+
-Fix color assignment for NaN values (#257)
97
+
-Zorder of rendering now strictly follows the order of the render_x calls (#244)
96
98
97
99
## [0.2.2] - 2024-05-02
98
100
99
101
### Fixed
100
102
101
-
- Fixed `fill_alpha` ignoring `alpha` channel from custom cmap (#236)
102
-
- Fix channel str support (#221)
103
+
-Fixed `fill_alpha` ignoring `alpha` channel from custom cmap (#236)
104
+
-Fix channel str support (#221)
103
105
104
106
## [0.2.1] - 2024-03-26
105
107
106
108
### Minor
107
109
108
-
- Adjusted GitHub worklows
110
+
-Adjusted GitHub worklows
109
111
110
112
## [0.2.0] - 2024-03-24
111
113
112
114
### Added
113
115
114
-
- Support for plotting multiple tables @melonora
116
+
-Support for plotting multiple tables @melonora
115
117
116
118
### Fixed
117
119
118
-
- Several bugfixes, especially for colors and palettes @melonora
120
+
-Several bugfixes, especially for colors and palettes @melonora
119
121
120
122
## [0.1.0] - 2024-01-17
121
123
122
124
### Added
123
125
124
-
- Multiscale image handling: user can specify a scale, else the best scale is selected automatically given the figure size and dpi (#164)
125
-
- Large images are automatically rasterized to speed up performance (#164)
126
-
- Added better error message for mismatch in cs and ax number (#185)
127
-
- Beter test coverage for correct plotting of elements after transformation (#198)
128
-
- Can now stack render commands (#190, #192)
129
-
- The `color` argument in render_shapes/points now accepts actual colors as well (#199)
130
-
- Input arguments are now evaulated for their types in basic.py (#199)
126
+
-Multiscale image handling: user can specify a scale, else the best scale is selected automatically given the figure size and dpi (#164)
127
+
-Large images are automatically rasterized to speed up performance (#164)
128
+
-Added better error message for mismatch in cs and ax number (#185)
129
+
-Beter test coverage for correct plotting of elements after transformation (#198)
130
+
-Can now stack render commands (#190, #192)
131
+
-The `color` argument in render_shapes/points now accepts actual colors as well (#199)
132
+
-Input arguments are now evaulated for their types in basic.py (#199)
131
133
132
134
### Fixed
133
135
134
-
- Now dropping index when plotting shapes after spatial query (#177)
135
-
- Points are now being correctly rotated (#198)
136
-
- 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)
136
+
-Now dropping index when plotting shapes after spatial query (#177)
137
+
-Points are now being correctly rotated (#198)
138
+
-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)
137
139
138
140
## [0.0.6] - 2023-11-06
139
141
140
142
### Added
141
143
142
-
- Pushed `get_extent` functionality upstream to `spatialdata` (#162)
144
+
-Pushed `get_extent` functionality upstream to `spatialdata` (#162)
143
145
144
146
## [0.0.5] - 2023-10-02
145
147
146
148
### Added
147
149
148
-
- Can now scale shapes (#152)
149
-
- Can now plot columns from GeoDataFrame (#149)
150
+
-Can now scale shapes (#152)
151
+
-Can now plot columns from GeoDataFrame (#149)
150
152
151
153
### Fixed
152
154
153
-
- Multipolygons are now handled correctly (#93)
154
-
- Legend order is now deterministic (#143)
155
-
- Images no longer normalised by default (#150)
156
-
- Filtering of shapes and points using the `groups` argument is now possible, coloring by palette and cmap arguments works for shapes and points (#153)
157
-
- Colorbar no longer autoscales to [0, 1] (#155)
158
-
- Plotting shapes after a spatial query is now possible (#163)
155
+
-Multipolygons are now handled correctly (#93)
156
+
-Legend order is now deterministic (#143)
157
+
-Images no longer normalised by default (#150)
158
+
-Filtering of shapes and points using the `groups` argument is now possible, coloring by palette and cmap arguments works for shapes and points (#153)
159
+
-Colorbar no longer autoscales to [0, 1] (#155)
160
+
-Plotting shapes after a spatial query is now possible (#163)
159
161
160
162
## [0.0.4] - 2023-08-11
161
163
162
164
### Fixed
163
165
164
-
- Multi-scale images/labels are now correctly substituted and the action is logged (#131).
165
-
- Empty geometries among the shapes can be handeled (#133).
166
-
-`outline_width` parameter in render_shapes is now a float that actually determines the line width (#139).
166
+
-Multi-scale images/labels are now correctly substituted and the action is logged (#131).
167
+
-Empty geometries among the shapes can be handeled (#133).
168
+
-`outline_width` parameter in render_shapes is now a float that actually determines the line width (#139).
167
169
168
170
## [0.0.2] - 2023-06-25
169
171
170
172
### Fixed
171
173
172
-
- Multiple bugfixes of which I didn't keep track of.
174
+
-Multiple bugfixes of which I didn't keep track of.
173
175
174
176
## [0.0.1] - 2023-04-04
175
177
176
178
### Added
177
179
178
-
- Initial release of `spatialdata-plot` with support for `images`, `labels`, `points` and `shapes`.
180
+
-Initial release of `spatialdata-plot` with support for `images`, `labels`, `points` and `shapes`.
0 commit comments