From e30a3c5b546b39d411fd42eedbcfcb06dd06c957 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 21 Jul 2022 11:38:07 -0400 Subject: [PATCH] Single chart requires view reset to size to data on startup --- piker/ui/_display.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index ba58ae5a..f79c56ae 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -824,6 +824,9 @@ async def display_symbol_data( order_mode_started ) ): + if not vlm_chart: + chart.default_view() + # let Qt run to render all widgets and make sure the # sidepanes line up vertically. await trio.sleep(0)