From 38dccf8642214b34e3937f4d23ff577286cbe47a Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Sun, 25 Apr 2021 20:10:54 -0700 Subject: [PATCH] Fix indentation bug with flowchart --- pyqtgraph/flowchart/library/Data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyqtgraph/flowchart/library/Data.py b/pyqtgraph/flowchart/library/Data.py index 6edd3a80..b4d229ba 100644 --- a/pyqtgraph/flowchart/library/Data.py +++ b/pyqtgraph/flowchart/library/Data.py @@ -160,10 +160,9 @@ class RegionSelectNode(CtrlNode): sliced = data[0:s['start']:s['stop']] else: mask = (data['time'] >= s['start']) * (data['time'] < s['stop']) - sliced = data[mask] + sliced = data[mask] else: sliced = None - return {'selected': sliced, 'widget': self.items, 'region': region}