Add back another panes resize during startup

pre_viz_calls
Tyler Goodlet 2023-01-03 10:55:01 -05:00
parent d2066ac866
commit 1c54ba4721
1 changed files with 5 additions and 0 deletions

View File

@ -1217,6 +1217,9 @@ async def display_symbol_data(
# add_label=False, # add_label=False,
# ) # )
godwidget.resize_all()
await trio.sleep(0)
for fqsn, flume in fitems[1:]: for fqsn, flume in fitems[1:]:
# get a new color from the palette # get a new color from the palette
bg_chart_color, bg_last_bar_color = next(palette) bg_chart_color, bg_last_bar_color = next(palette)
@ -1376,9 +1379,11 @@ async def display_symbol_data(
# as final default UX touch. # as final default UX touch.
rt_chart.default_view() rt_chart.default_view()
rt_chart.view.enable_auto_yrange() rt_chart.view.enable_auto_yrange()
await trio.sleep(0)
hist_chart.default_view() hist_chart.default_view()
hist_chart.view.enable_auto_yrange() hist_chart.view.enable_auto_yrange()
await trio.sleep(0)
godwidget.resize_all() godwidget.resize_all()