From ead426abc4b6f6d11d63c41251fca391845f9aa2 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 11 Sep 2022 17:24:09 -0400 Subject: [PATCH] More space to fast chart(s), less to slow chart --- piker/ui/_chart.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/piker/ui/_chart.py b/piker/ui/_chart.py index 038e957c..575e6286 100644 --- a/piker/ui/_chart.py +++ b/piker/ui/_chart.py @@ -477,17 +477,18 @@ class LinkedSplits(QWidget): prop: Optional[float] = None, ) -> None: - '''Set the proportion of space allocated for linked subcharts. + ''' + Set the proportion of space allocated for linked subcharts. ''' ln = len(self.subplots) or 1 # proportion allocated to consumer subcharts if not prop: - prop = 3/8*5/8 + prop = 3/8 h = self.height() - histview_h = h * 5/16 + histview_h = h * ((6/16) ** 2) h = h - histview_h major = 1 - prop