From 8b1232947931ae4d4cdaccbd9d9029215d1e4a47 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 6 Oct 2021 20:17:13 -0400 Subject: [PATCH] Make openGL flag actually work.. --- piker/ui/_chart.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index dc9387ea..8cbbcaa9 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -603,6 +603,9 @@ class ChartPlotWidget(pg.PlotWidget): view_color: str = 'papas_special', pen_color: str = 'bracket', + # TODO: load from config + use_open_gl: bool = False, + static_yrange: Optional[tuple[float, float]] = None, **kwargs, @@ -617,9 +620,9 @@ class ChartPlotWidget(pg.PlotWidget): # parent=None, # plotItem=None, # antialias=True, - # useOpenGL=True, **kwargs ) + self.useOpenGL(use_open_gl) self.name = name self.data_key = data_key self.linked = linkedsplits