From 8d432e19884f1a25ca7958c3f6b03bcbf46c0be5 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 4 Feb 2022 17:00:12 -0500 Subject: [PATCH] Shorter clear rate axis title --- piker/ui/_fsp.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/piker/ui/_fsp.py b/piker/ui/_fsp.py index 2dbb41b3..0ae4b9ea 100644 --- a/piker/ui/_fsp.py +++ b/piker/ui/_fsp.py @@ -842,7 +842,11 @@ async def open_vlm_displays( tr_pi = chart.overlay_plotitem( 'trade_rates', index=1, # place axis on inside (nearest to chart) - axis_title='tr(16) ', + + # TODO: dynamically update period (and thus this axis?) + # title from user input. + axis_title='clears/P', + axis_side='left', axis_kwargs={ 'typical_max_str': ' 10.0 M ',