|
1 | 1 | """ |
2 | | -Value-Suppressing Uncertainty Palettes (VSUP) for visualizing data with uncertainty. |
| 2 | +## Value-Suppressing Uncertainty Palettes (VSUP) for visualizing data with uncertainty. |
3 | 3 |
|
4 | 4 | This module provides a class for creating and using VSUPs to visualize data with uncertainty |
5 | 5 | by mapping both value and uncertainty to color properties. VSUPs are a visualization technique |
6 | 6 | that encodes both the value and its uncertainty in a single color, making it easier to |
7 | 7 | understand the reliability of the data while maintaining the ability to distinguish values. |
8 | 8 |
|
9 | 9 | The module supports three visualization modes: |
| 10 | +
|
10 | 11 | - USL: Uncertainty mapped to both Saturation and Lightness |
11 | 12 | - US: Uncertainty mapped to Saturation only |
12 | 13 | - UL: Uncertainty mapped to Lightness only |
13 | 14 |
|
14 | | -Note that transformations take place in the CIELAB color space: L-modes increase L* (lightness), |
15 | | -while S-modes decrease "chroma": a* (green-red) and b* (blue-yellow), equally. |
| 15 | +Note that transformations take place in the CIELAB color space: L-modes increase L\* (lightness), |
| 16 | +while S-modes decrease "chroma": a\* (green-red) and b\* (blue-yellow), equally. |
16 | 17 |
|
17 | 18 | It also provides two quantization methods: |
| 19 | +
|
18 | 20 | - Linear: Independent binning of values and uncertainties |
19 | 21 | - Tree: Value bins depend on uncertainty level (higher uncertainty = fewer value bins) |
20 | 22 | """ |
@@ -77,7 +79,7 @@ class VSUP: |
77 | 79 | Minimum saturation/chroma (0 to 1). Default is 0.2. Higher values ensure |
78 | 80 | colors remain visible even at high uncertainty. |
79 | 81 | lmax : float, optional |
80 | | - Maximum lightness (0 to 1). The maximum lightness will be 100 * lmax. |
| 82 | + Maximum lightness (0 to 1). The maximum lightness will be 100 \* lmax. |
81 | 83 | Default is 0.9. Controls how white the colors become at high uncertainty. |
82 | 84 | """ |
83 | 85 |
|
|
0 commit comments