From 55828a4e6a02ea079d0d353dfc87852425d973a0 Mon Sep 17 00:00:00 2001 From: Ajda Pretnar Date: Mon, 4 May 2020 15:09:00 +0200 Subject: [PATCH] Prevent overscaling column annotations --- Orange/widgets/visualize/utils/heatmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Orange/widgets/visualize/utils/heatmap.py b/Orange/widgets/visualize/utils/heatmap.py index c51b0210e1f..1559afbea43 100644 --- a/Orange/widgets/visualize/utils/heatmap.py +++ b/Orange/widgets/visualize/utils/heatmap.py @@ -512,7 +512,7 @@ def setHeatmaps(self, parts: 'Parts') -> None: items=labels, parent=self, alignment=Qt.AlignLeft | Qt.AlignVCenter, orientation=Qt.Horizontal, - autoScale=True, + autoScale=len(labels) != 1, sizePolicy=sp, visible=self.__columnLabelPosition & Position.Top, objectName="column-labels-top",