Commit bb978fb
Fix render_points datashader pipeline: dead code, silent failures, and fragile alignment
- Forward `default_reduction` to aggregation instead of ignoring it (_datashader.py)
- Warn when `ds_reduction` is set for categorical data (always uses count)
- Warn when `groups` is set with continuous color column (silently ignored)
- Warn on color_vector/cat_series length mismatch in `_build_datashader_color_key`
- Only set cmap fallback in `_ds_shade_categorical` when no color_key is present
- Add 54 unit tests covering all fixes and datashader reduction behavior
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent edca5a5 commit bb978fb
3 files changed
Lines changed: 539 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| |||
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
122 | 132 | | |
123 | 133 | | |
124 | 134 | | |
| |||
127 | 137 | | |
128 | 138 | | |
129 | 139 | | |
130 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
131 | 143 | | |
132 | 144 | | |
133 | 145 | | |
| |||
244 | 256 | | |
245 | 257 | | |
246 | 258 | | |
247 | | - | |
| 259 | + | |
248 | 260 | | |
249 | 261 | | |
250 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
111 | 125 | | |
112 | 126 | | |
113 | 127 | | |
| |||
329 | 343 | | |
330 | 344 | | |
331 | 345 | | |
| 346 | + | |
| 347 | + | |
332 | 348 | | |
333 | 349 | | |
334 | 350 | | |
| |||
784 | 800 | | |
785 | 801 | | |
786 | 802 | | |
| 803 | + | |
| 804 | + | |
787 | 805 | | |
788 | 806 | | |
789 | 807 | | |
| |||
1335 | 1353 | | |
1336 | 1354 | | |
1337 | 1355 | | |
| 1356 | + | |
| 1357 | + | |
1338 | 1358 | | |
1339 | 1359 | | |
1340 | 1360 | | |
| |||
0 commit comments