piker/piker/tsp
Gud Boi 3a515afccd Use `get_fonts()`, add `show_txt` flag to gap annots
Switch `.tsp._annotate.markup_gaps()` to use new
`.ui._style.get_fonts()` API for font size calc on client side and add
optional `show_txt: bool` flag to toggle gap duration labels (with
default `False`).

Also,
- replace `sgn` checks with named bools: `up_gap`, `down_gap`
- use `small_font.px_size - 1` for gap label font sizing
- wrap text creation in `if show_txt:` block
- update IPC handler to use `get_fonts()` vs direct `_font` import

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-01-28 16:30:41 -05:00
..
__init__.py Mv `markup_gaps()` to new `.tsp._annotate` mod 2026-01-21 23:52:12 -05:00
_anal.py Add break for single bar null segments 2026-01-27 13:33:46 -05:00
_annotate.py Use `get_fonts()`, add `show_txt` flag to gap annots 2026-01-28 16:30:41 -05:00
_dedupe_smart.py Add vlm-based "smart" OHLCV de-duping & bar validation 2026-01-21 22:20:43 -05:00
_history.py Add buffer capacity checks to backfill loop 2026-01-27 23:52:00 -05:00