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