Commit c68e1a3
committed
Fix remaining bumplot issues
Fixed three critical issues:
1. CURVES EXTENDING BEYOND DISPLAYED TOKENS:
- Added clamping to max_vocab_display in rank assignment
- Particles with tokens beyond max rank are now capped at the max visible rank
- Prevents curves from going to non-existent rank 9 when only showing 8 ranks
2. COLORBAR POSITION:
- Moved to x=0.88 (was 0.90, then 0.86)
- Now has proper small gap from main figure
3. ALPHA TRANSPARENCY:
- Reduced to 0.1 for clear visibility of overlapping paths
- Using explicit line.set_alpha() for better rendering
- Transparency now clearly visible in dense areas
The bumplot now correctly shows all particles within the visible
rank range, with proper transparency and layout spacing.1 parent 592f76c commit c68e1a3
File tree
4 files changed
+10
-51
lines changed- code
- quantum_conversations
4 files changed
+10
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
592 | 595 | | |
593 | 596 | | |
594 | 597 | | |
| |||
830 | 833 | | |
831 | 834 | | |
832 | 835 | | |
833 | | - | |
| 836 | + | |
834 | 837 | | |
835 | 838 | | |
836 | 839 | | |
| |||
Binary file not shown.
This file was deleted.
0 commit comments