From 8711465d96ae92952893d113b1a0744f5e6356bd Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 29 Apr 2022 11:27:18 -0400 Subject: [PATCH] Drop `bar_wap` curve for now, seems to also be causing hangs?! --- piker/ui/_display.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 27c7f455..5a1af20b 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -689,15 +689,17 @@ async def display_symbol_data( # plot historical vwap if available wap_in_history = False - if brokermod._show_wap_in_history: + # XXX: FOR SOME REASON THIS IS CAUSING HANGZ!?! + # if brokermod._show_wap_in_history: - if 'bar_wap' in bars.dtype.fields: - wap_in_history = True - chart.draw_curve( - name='bar_wap', - data=bars, - add_label=False, - ) + # if 'bar_wap' in bars.dtype.fields: + # wap_in_history = True + # chart.draw_curve( + # name='bar_wap', + # shm=ohlcv, + # color='default_light', + # add_label=False, + # ) # size view to data once at outset chart.cv._set_yrange()