More space to fast chart(s), less to slow chart
parent
bcd6bbb7ca
commit
ead426abc4
|
@ -477,17 +477,18 @@ class LinkedSplits(QWidget):
|
||||||
prop: Optional[float] = None,
|
prop: Optional[float] = None,
|
||||||
|
|
||||||
) -> 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
|
ln = len(self.subplots) or 1
|
||||||
|
|
||||||
# proportion allocated to consumer subcharts
|
# proportion allocated to consumer subcharts
|
||||||
if not prop:
|
if not prop:
|
||||||
prop = 3/8*5/8
|
prop = 3/8
|
||||||
|
|
||||||
h = self.height()
|
h = self.height()
|
||||||
histview_h = h * 5/16
|
histview_h = h * ((6/16) ** 2)
|
||||||
h = h - histview_h
|
h = h - histview_h
|
||||||
|
|
||||||
major = 1 - prop
|
major = 1 - prop
|
||||||
|
|
Loading…
Reference in New Issue