Commit ea71fed
Fix datashader single-group bug, make tests 2-panel comparisons
Fix: the datashader shapes path skipped categorical aggregation when
groups had exactly 1 entry (len(groups) > 1 was False), producing an
empty plot. Remove the erroneous groups-length guard.
Tests: all 4 groups-filtering PlotTester tests now show 2 panels
side-by-side (left: default with na_color shown, right: na_color=None
with filtered elements) for easy visual comparison.
Baseline images removed — will be regenerated by CI.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 54d66aa commit ea71fed
File tree
7 files changed
+25
-5
lines changed- src/spatialdata_plot/pl
- tests
- _images
- pl
7 files changed
+25
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
583 | 589 | | |
584 | 590 | | |
585 | 591 | | |
586 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
587 | 597 | | |
588 | 598 | | |
589 | | - | |
| 599 | + | |
590 | 600 | | |
591 | 601 | | |
592 | 602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
990 | 996 | | |
991 | 997 | | |
992 | 998 | | |
993 | 999 | | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
994 | 1004 | | |
995 | 1005 | | |
996 | | - | |
| 1006 | + | |
997 | 1007 | | |
998 | 1008 | | |
999 | 1009 | | |
| |||
0 commit comments