From aaca2b2f3372e4bd27ca2decfcb1e91b9348e5d9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 17 Mar 2021 08:26:28 -0400 Subject: [PATCH] Tweak L1 labels to have more spaces --- piker/ui/_l1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/piker/ui/_l1.py b/piker/ui/_l1.py index ab7f8363..02e3a49a 100644 --- a/piker/ui/_l1.py +++ b/piker/ui/_l1.py @@ -53,7 +53,7 @@ class LevelLabel(YAxisLabel): 'level_digits': 2, } # default label template is just a y-level with so much precision - _fmt_str = '{level:,.{level_digits}f}' + _fmt_str = '{level:,.{level_digits}f} ' def __init__( self, @@ -265,8 +265,8 @@ class L1Labels: } fmt_str = ( - '{size:.{size_digits}f} x ' - '{level:,.{level_digits}f}' + ' {size:.{size_digits}f} x ' + '{level:,.{level_digits}f} ' ) fields = { 'level': 0,