Commit 8001f9e
Fix review issues: reject norm list without cmap list, scope to images only
- Use resolved per-element cmap for list branching so norm list works
correctly when cmap is auto-replicated
- Raise ValueError when norm is a list but cmap is not (no silent
pass-through to _prepare_cmap_norm)
- Restrict list norm validation to element_type="images" only — labels
has no list-norm support
- Add test for norm list without explicit cmap list
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c764384 commit 8001f9e
3 files changed
Lines changed: 23 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
| 636 | + | |
636 | 637 | | |
637 | | - | |
| 638 | + | |
638 | 639 | | |
639 | | - | |
| 640 | + | |
| 641 | + | |
640 | 642 | | |
641 | 643 | | |
642 | 644 | | |
643 | | - | |
| 645 | + | |
644 | 646 | | |
645 | 647 | | |
646 | 648 | | |
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
650 | | - | |
| 652 | + | |
651 | 653 | | |
652 | 654 | | |
653 | 655 | | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
654 | 661 | | |
655 | | - | |
| 662 | + | |
656 | 663 | | |
657 | 664 | | |
658 | 665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2409 | 2409 | | |
2410 | 2410 | | |
2411 | 2411 | | |
2412 | | - | |
| 2412 | + | |
2413 | 2413 | | |
2414 | 2414 | | |
2415 | 2415 | | |
2416 | 2416 | | |
2417 | 2417 | | |
2418 | 2418 | | |
2419 | 2419 | | |
| 2420 | + | |
| 2421 | + | |
2420 | 2422 | | |
2421 | 2423 | | |
2422 | 2424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
0 commit comments