We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d43a2f9 commit 44de3c6Copy full SHA for 44de3c6
Orange/widgets/visualize/utils/heatmap.py
@@ -1249,6 +1249,15 @@ def boundingRect(self):
1249
br = br.adjusted(-adjust, 0, adjust, 0)
1250
return br
1251
1252
+ def showEvent(self, event):
1253
+ super().showEvent(event)
1254
+ # AxisItem resizes to 0 width/height when hidden, does not update when
1255
+ # shown implicitly (i.e. a parent becomes visible).
1256
+ # Use showLabel(False) which should update the size without actually
1257
+ # changing anything else (no public interface to explicitly recalc
1258
+ # fixed sizes).
1259
+ self.showLabel(False)
1260
+
1261
1262
class GradientLegendWidget(QGraphicsWidget):
1263
def __init__(
0 commit comments