From f30bf3102d119ddddb0b3bdd9ec6e7e31b782d6a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 23 Jul 2021 14:21:10 -0400 Subject: [PATCH] Change order label format to color:count --- piker/ui/_lines.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/piker/ui/_lines.py b/piker/ui/_lines.py index 680a5604..e94d1b8c 100644 --- a/piker/ui/_lines.py +++ b/piker/ui/_lines.py @@ -350,8 +350,6 @@ class LevelLine(pg.InfiniteLine): # order lines.. not sure wtf is up with that. # for now we're just using it on the position line. elif self._marker: - # print('we have a marker?') - # self._chart.view.locate(self._marker) # TODO: make this label update part of a scene-aware-marker # composed annotation @@ -702,7 +700,7 @@ def order_line( # display the order pos size, which is some multiple # of the user defined base unit size - fmt_str=('x{size:.0f}'), + fmt_str=(':{size:.0f}'), # fmt_str=('{size:.{size_digits}f}'), # old color=line.color, )