Commit 9407fae
Fix outline rendering to preserve data-driven colors when outline_color is None
Only apply uniform outline_color when explicitly set. When None (default),
use the data-driven colors from label2rgb on the eroded ring — preserving
the existing behavior for continuous/categorical outline coloring.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 342027c commit 9407fae
4 files changed
Lines changed: 9 additions & 4 deletions
File tree
- src/spatialdata_plot/pl
- tests/_images
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1207 | 1206 | | |
1208 | 1207 | | |
1209 | 1208 | | |
| |||
1218 | 1217 | | |
1219 | 1218 | | |
1220 | 1219 | | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
1221 | 1226 | | |
1222 | 1227 | | |
1223 | 1228 | | |
| |||
Loading
Loading
0 commit comments