Commit c3f978e
Reject tuple norms with clear error, standardize na_is_transparent guards
- Reject tuple/sequence norms in _type_check_params with a clear
TypeError pointing users to use a list instead
- Extract na_is_transparent local in all three groups-filtering guards
(shapes, points, labels) for consistent style
- Add test_norm_tuple_raises
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fe75761 commit c3f978e
File tree
3 files changed
+15
-7
lines changed- src/spatialdata_plot/pl
- tests/pl
3 files changed
+15
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| |||
1522 | 1523 | | |
1523 | 1524 | | |
1524 | 1525 | | |
1525 | | - | |
1526 | | - | |
1527 | | - | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
| 1526 | + | |
| 1527 | + | |
1531 | 1528 | | |
1532 | 1529 | | |
1533 | 1530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2394 | 2394 | | |
2395 | 2395 | | |
2396 | 2396 | | |
| 2397 | + | |
| 2398 | + | |
2397 | 2399 | | |
2398 | 2400 | | |
2399 | 2401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
| |||
0 commit comments