Commit 10c131e
Fix inverted transfunc condition in render_shapes; add transfunc support to render_labels
The guard in _render_shapes was `if values_are_categorical` instead of
`if not values_are_categorical`, causing transfunc to be silently
ignored for continuous data and to crash with a TypeError for
categorical data.
render_labels had no transfunc support at all. Added the field to
LabelsRenderParams, wired it through basic.py, and applied the same
guard already present in _render_points.
Fixes #596.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 525c94a commit 10c131e
3 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
| 857 | + | |
857 | 858 | | |
858 | 859 | | |
859 | 860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| |||
1702 | 1702 | | |
1703 | 1703 | | |
1704 | 1704 | | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
1705 | 1709 | | |
1706 | 1710 | | |
1707 | 1711 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
0 commit comments